MEGAcmd icon indicating copy to clipboard operation
MEGAcmd copied to clipboard

How to delete sync debris automatically?

Open realtebo opened this issue 2 years ago • 3 comments

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

realtebo avatar Mar 30 '22 10:03 realtebo

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

polmr avatar Mar 31 '22 17:03 polmr

But how to REMOVE them?

realtebo avatar Apr 01 '22 07:04 realtebo

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

Xoquito avatar May 24 '22 12:05 Xoquito