Skip to end of banner
Go to start of banner

removeAttachmentVersions

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 74 Current »

See also: Actions

Description

Remove multiple versions of an attachment. Use limit parameter to remove versions except for the last limit versions. Use date parameter to remove versions created before that date. Use regex parameter to remove versions whose comment matches the pattern. Use '--options just1=day' to remove versions except for the last version created each day and similarly for week, month, and year. If multiple criteria are specified, all must be met. A numeric attachment id can substitute for the attachment name. By default, a CSV output lists each attachment version indicating versions selected and why - use quiet parameter to suppress the output or the file parameter. Use the simulate parameter to log the details without running the removal so you can verify your selection criteria. Use @all for name to automatically repeat the request for each attachment on the page.

Required Parameters

((space and title) or id), name, (date or limit or regex)

Optional Parameters

dateFormat, simulate, quiet, file, append, columns, outputType, encoding

Type

Delete

Category

Attachments

Output Formats

,

Replacement Variables

Hostingcloud,server,datacenter
Since Version

Examples

removeAttachmentVersions

Related How To's

  • No labels