how can I check to see if the torrent's data is already in the folder?
In bash and perl there is the expression -f <file> that evaluates to true if the file exists.
I'm not sure if you're asking for help with transmission, or help with scripting in general. There are lots of resources available ...
Search found 3 matches
- Fri Jan 14, 2011 1:47 am
- Forum: General
- Topic: a script to add torrent files if they are in directory
- Replies: 5
- Views: 6127
- Thu Jan 13, 2011 1:20 pm
- Forum: General
- Topic: a script to add torrent files if they are in directory
- Replies: 5
- Views: 6127
Re: a script to add torrent files if they are in directory
a script which will go through a folder full of .torrent files, check to see if the file/folder exists in a folder and then adds the corresponding .torrent file to transmission if it does
It should be possible to do this now, though the script may get a little involved. You can extract the ...
It should be possible to do this now, though the script may get a little involved. You can extract the ...
- Thu Jan 13, 2011 1:45 am
- Forum: General
- Topic: a script to add torrent files if they are in directory
- Replies: 5
- Views: 6127
a script to add torrent files if they are in directory
So whenever I download a torrent file I put it in a different folder in my hard drive, and from time to time I have to format my main hard drive. I still have the old things I downloaded, but I was thinking of writing a script which will go through a folder full of .torrent files, check to see if ...