ipsingh06 / seedsync

Sync your seedbox. Fast. And more.
https://ipsingh06.github.io/seedsync/
Apache License 2.0
307 stars 42 forks source link

[Request] Auto Cleanup of Local Files #16

Open stevenviola opened 5 years ago

stevenviola commented 5 years ago

Similar to #7, it would be great if there were options to automatically delete files locally if they are removed from the remote host. Right now in SeedSync, there's no way to clean up files in a directory at all in the interface, so the only option would be to delete the directory and then re-download it. If there were a configuration option for cleaning up local files, then the --delete flag can simply be added to the mirror command, and take care of deletions.

For individual files, after Auto Queue is run, if the remote filesize is 0 bytes, then the file can be deleted. This way SeedSync can fully sync from a remote server.

R36613 commented 3 years ago

First, I would like to express my gratitude for creating this tool! Its awesome! please let me know how can I donate.
I'm Upvoting this feature. Not be able to delete files from local directory after the original file is deleted from remote directory cause storage usage problem. How can we add --delete-first or --delete-after switch?

ipsingh06 commented 3 years ago

@R36613 This is a planned feature for automatically removing local files after they are removed from the remote side. For now, you can always manually delete the local files from within the Seedsync interface. Let me know if manual deletion is not working for you in any case.

R36613 commented 3 years ago

Hi @ipsingh06, I see it now, my path is only the root folder, so I put the absolute path and I can see the packages now and the option to delete. We appreciate you!