2
0
mirror of https://github.com/meganz/MEGAcmd synced 2025-08-22 09:57:09 +00:00
MEGAcmd/contrib/docs/commands/deleteversions.md
2024-06-27 20:32:31 +02:00

621 B

deleteversions

Deletes previous versions.

Usage: deleteversions [-f] (--all | remotepath1 remotepath2 ...) [--use-pcre]

This will permanently delete all historical versions of a file.
The current version of the file will remain.
Note: any file version shared to you from a contact will need to be deleted by them.

Options:
 -f   	Force (no asking)
 --all	Delete versions of all nodes. This will delete the version histories of all files (not current files).
 --use-pcre	use PCRE expressions

To see versions of a file use "ls --versions".
To see space occupied by file versions use "du --versions".