ipsingh06 / seedsync

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

REQ: Auto cleanup #103

Open quadcom opened 3 years ago

quadcom commented 3 years ago

Using my workflow, which involves a hard link from the seedbox DL folder to a sync folder on the seedbox that SS pulls from. It would be a time saver if there was an option that when local copies are removed they are automatically deleted from the remote seedbox as well. This way I wouldn't have to log back in each time to clean things up. Yes, we can delete remote copies from within SS but it is one at a time and can take a lot of time if there are a lot of items listed.

PS> Also it would be great to be able to sort and keep sorted based on the download date.

bjeanes commented 3 years ago

I use Resilio Sync for that use case. I found SeedSync trying to see if I can replace my home grown setup so also curious about this answer.

If it helps, here's what I have:

  1. Have Resilio Sync set up with <sync-dir>
  2. ruTorrent (but really any client) has a post-completion script which hardlinks (using cp -rlv <download> <sync-dir>/)
  3. On my NAS, the files don't show up its <sync-dir> until fully synced, so I have rsync --remove-source-files <sync-dir> <local-downloads-dir>/ (and some other flags I don't recall)
  4. Resilio Sync sees those files have disappeared from sync directory and deletes the links on seedbox.

Separately from that, my seedbox torrent client will auto delete its own files after its seeding criteria have been met (which differ per tracker, in my case).

The one thing I haven't yet done but want to do is also sync the .torrent file down so I can continue perma-seeding on the NAS.