Basically I'm looking for a script to move movie files into separate SD and HD folders. For example:
I download Anymovie.avi and Anymovie2.mkv
I want the files (and folders) to be placed into different directories.
Anymovie.avi would go into /downloads/Movies/SD
Anymovie2.mkv would go into /downloads/Movies/HD
I am a complete idiot when it comes to scripting but I am willing to learn. I have sab installed on a windows 7 x64 machine. Any help would be appreciated.
[WIN] Script to put avi and mkv files in seperate folders
Re: [WIN] Script to put avi and mkv files in seperate folder
Something like:
See
http://wiki.sabnzbd.org/user-scripts
http://en.wikipedia.org/wiki/List_of_MS ... mands#move
I don't use WIndows, so I can't test it for you.
Code: Select all
CD %1
MOVE *.avi /downloads/Movies/SD
MOVE *.mkv /downloads/Movies/HD
See
http://wiki.sabnzbd.org/user-scripts
http://en.wikipedia.org/wiki/List_of_MS ... mands#move
I don't use WIndows, so I can't test it for you.
Re: [WIN] Script to put avi and mkv files in seperate folder
Thank you. Will give it a try.
Re: [WIN] Script to put avi and mkv files in seperate folder
Make sure you use backslashes and not forward slashes!
Also this will only work if both locations are on the same partition (drive letter).
Also this will only work if both locations are on the same partition (drive letter).
Re: [WIN] Script to put avi and mkv files in seperate folder
Ah! Two times the proof that Windows is long time ago for me!shypike wrote:Make sure you use backslashes and not forward slashes!
Also this will only work if both locations are on the same partition (drive letter).
Re: [WIN] Script to put avi and mkv files in seperate folder
I have Ubuntu on a virtual drive. Maybe I should install sab on there. I've read it's a little easier to us hash
Re: [WIN] Script to put avi and mkv files in seperate folder
So, after doing a bunch of research and realizing I am an idiot, I found that what i was trying to do wasn't happening using sabnzbd categories because I was using nzbdstatus addon for firefox to send nzbs over to sab from nzbmatrix. And after trying a ton of batch scripts (some half way worked) i found that I could use SabConnect++ in Chrome and have eveerything work the way i want it!. (that is an abnoxiously long run on sentence)