hardlinking downloads
Posted: Wed Jun 25, 2014 9:07 pm
Hi guys,
Is there an easy way to use the execute plugin to hardlink the downloaded files of a torrent file to another directory?
will not work unless the torrent has only a single file and it is named exactly the same as the torrent (which is not always the case). It will fail completely if the downloaded files are in a folder, because hard links don't work on directories. I don't know much python but my guess would be that a script could be written to pull the names of the files from a task using the $torrentid argument and some stuff from the deluge api. I was hoping there would be an easier way that I am overlooking because I am extremely underqualified to write such a script.
Thanks,
Abbott
Is there an easy way to use the execute plugin to hardlink the downloaded files of a torrent file to another directory?
Code: Select all
ln /path/to/downloads/$torrentname /new/directory
Thanks,
Abbott