Need a script to move downloaded files to seperate folders

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Achandab
Donor
Posts: 109
Joined: 04 Nov 2013, 21:20

Need a script to move downloaded files to seperate folders

Post by Achandab »

Hi.

This is directed at RedNoah. Need your help

I am a complete noob.

This should hopefully be a fairly simple script for you.

Using a synology NASlatest version of DSM. I download torrents to a download folder on the NAS. Torrents will be either movies, TV Shows or Music. I need a script to move the downloaded media from that folder to their respective folders ie: Movies. TV shows and Music.

Please help. This has been bugging me for days. Ready to make a big donation!
User avatar
rednoah
The Source
Posts: 23939
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Need a script to move downloaded files to seperate folde

Post by rednoah »

The AMC Script?
http://www.filebot.net/forums/viewtopic ... =215#p1561

And corresponding tutorial video:
https://www.youtube.com/watch?v=brGyo2uQzSs

Just set your torrent program up to call filebot/amc after it's completed a download.


PS: It's definitely not a "fairly simple" script. Luckily you running the script is dead simple.
:idea: Please read the FAQ and How to Request Help.
Achandab
Donor
Posts: 109
Joined: 04 Nov 2013, 21:20

Re: Need a script to move downloaded files to seperate folde

Post by Achandab »

Just watched the video. Thats exactly what i'm after. I don't use uTorrent though. The plan is to use on the NAS for everything. It does have a torrent program called download station. Just checked and it doesnt have the option to run a script after downloading is complete. Though it does have a task scheduler which can run scripts at set intervals.
User avatar
rednoah
The Source
Posts: 23939
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Need a script to move downloaded files to seperate folde

Post by rednoah »

Does it at least have some sort of option to move completed downloads? Otherwise you have to run the script in intervals some somehow figure out how to exclude files that are being downloaded.
:idea: Please read the FAQ and How to Request Help.
Achandab
Donor
Posts: 109
Joined: 04 Nov 2013, 21:20

Re: Need a script to move downloaded files to seperate folde

Post by Achandab »

Yes it has the option to move completed downloads to a separate folder.
User avatar
rednoah
The Source
Posts: 23939
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Need a script to move downloaded files to seperate folde

Post by rednoah »

Yes that'd be best best. Make a new folder where completed downloads get moved to and set up a task to run the amc script every few ours on that folder. Pretty straight-forward.
:idea: Please read the FAQ and How to Request Help.
Achandab
Donor
Posts: 109
Joined: 04 Nov 2013, 21:20

Re: Need a script to move downloaded files to seperate folde

Post by Achandab »

Forgive my ignorance.

How do i go about setting which folder for AMC to look for and which folder to move the files to? Like I said i'm a complete noob.
User avatar
rednoah
The Source
Posts: 23939
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Need a script to move downloaded files to seperate folde

Post by rednoah »

Just look at the docs for the AMC script and the video tutorial. Just a matter of passing cmdline arguments.
:idea: Please read the FAQ and How to Request Help.
Achandab
Donor
Posts: 109
Joined: 04 Nov 2013, 21:20

Re: Need a script to move downloaded files to seperate folde

Post by Achandab »

Thanks Red

I will have a look at this now. Hopefully it shouldn't be too hard. I have just made a donation for this fantastic bit of software. Thanks for your help.
Achandab
Donor
Posts: 109
Joined: 04 Nov 2013, 21:20

Re: Need a script to move downloaded files to seperate folde

Post by Achandab »

Thanks Red for logging into my machine last night and fixing up the script. Everything works perfect now! Love your work.
Post Reply