Any chance for a --remove-and-delete-all switch

Feature requests not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
boondoklife
Posts: 12
Joined: Tue Oct 25, 2011 4:30 pm

Any chance for a --remove-and-delete-all switch

Post by boondoklife »

It would be great to have a new option that would remove and delete all files that are in the download and it's containing folders. After extraction there will be files left over in the downloaded folder that seem to prevent the folder from being removed when --remove-and-delete is called via transmission-remote.

Example:

Code: Select all

./SomeTorrentFolder
  SomeFile1.zip   <- part of the torrent
  SomeFile1.arp  <- not part of the torrent
As it is now, the --remove-and-delete function removes everything except the folder and the .arp file. I am proposing a new one that removes the folder and it's contents, even if they are not part of the torrent.
killemov
Posts: 542
Joined: Sat Jul 31, 2010 5:04 pm

Re: Any chance for a --remove-and-delete-all switch

Post by killemov »

Either don't extract in the same folder or use "rm -rf" or "rmdir -f" at the end of some script.
boondoklife
Posts: 12
Joined: Tue Oct 25, 2011 4:30 pm

Re: Any chance for a --remove-and-delete-all switch

Post by boondoklife »

Thanks for the information, I do something along that line now to account for the problem. Thanks for the suggestion though.
Post Reply