MEGAcmd
MEGAcmd copied to clipboard
How to delete sync debris automatically?
I've > 250 GB of my 400 total of space occupied by sync debris in trash folder, and already we autoclean trash every 7 days.
Is there a way to
- delete sync debris from recicle bin using non-interactive shell only?
- or
- avoid mega-sync will create sync-debris ?
we do not need this feature because we automatically rotate files and autodelete them before daily sync
You can browse and delete your files in rubbish bin with MEGAcmd.
There are located at //bin
.
You can list them for instance in non-interactive mode:
mega-cd //bin
mega-ls
But how to REMOVE them?
rm -r -f *
or without change folder previosly, just login and
rm -r -f //bin/*
rm
Usage: rm [-r] [-f] remotepath
Deletes a remote file/folder
Options:
-r Delete recursively (for folders)
-f Force (no asking)
Use "help -f" to get a brief description of the commands Alternatively, "help -ff" to get a complete description of all commands