Creating a script

Come up with a useful post-processing script? Share it here!
Post Reply
Coeluh
Jr. Member
Jr. Member
Posts: 79
Joined: May 22nd, 2008, 1:40 pm

Creating a script

Post by Coeluh »

Hi there,

I want to create a script what does the following: Move a folder and rename the folder based on imdb information. Is there any tutorial on creating scripts?
BrandonG777
Jr. Member
Jr. Member
Posts: 79
Joined: February 9th, 2009, 5:21 pm
Location: Tulsa, OK

Re: Creating a script

Post by BrandonG777 »

No but there are several existing scripts that include the features you want. You could take one of them and modify it to your needs.
Coeluh
Jr. Member
Jr. Member
Posts: 79
Joined: May 22nd, 2008, 1:40 pm

Re: Creating a script

Post by Coeluh »

What language are these scripts written in?
qwerty967
Jr. Member
Jr. Member
Posts: 57
Joined: February 27th, 2008, 5:46 am

Re: Creating a script

Post by qwerty967 »

Coeluh wrote: What language are these scripts written in?
Anything your computer supports. On Windows, batch files, Windows Script Host, or PowerShell commandlets are available. On Mac, AppleScript, Bash scripts, Python scripts, Ruby scripts, PHP scripts, Perl scripts are available.
qwerty967
Jr. Member
Jr. Member
Posts: 57
Joined: February 27th, 2008, 5:46 am

Re: Creating a script

Post by qwerty967 »

Coeluh wrote: Is there any tutorial on creating scripts?
http://sabnzbd.wikidot.com/user-scripts
qwerty967
Jr. Member
Jr. Member
Posts: 57
Joined: February 27th, 2008, 5:46 am

Re: Creating a script

Post by qwerty967 »

Maybe this thread should be stickied...
Coeluh
Jr. Member
Jr. Member
Posts: 79
Joined: May 22nd, 2008, 1:40 pm

Re: Creating a script

Post by Coeluh »

E.g. This script:

http://forums.sabnzbd.org/index.php?topic=897.0

What language is that?
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: Creating a script

Post by markus101 »

That's a Windows Batch file - Similar to a shell script in Linux.

-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
Post Reply