Renaming downloaded files?

Come up with a useful post-processing script? Share it here!
Post Reply
ZenFire
Newbie
Newbie
Posts: 17
Joined: August 3rd, 2010, 6:01 am

Renaming downloaded files?

Post by ZenFire »

I know that with sorting SABnzbd can create folders with a specific name for downloaded files I want to know if there is a way to rename the actual files themselves using the same ruleset sorting uses to create the folders?

I have to mention that I have absolutely no idea how to even begin writing a script so I am counting on the expertise of the capable people on this forum to help me out with this.
Last edited by ZenFire on August 4th, 2010, 1:47 am, edited 1 time in total.
lommes
Newbie
Newbie
Posts: 23
Joined: June 24th, 2009, 3:23 am

Re: Renaming downloaded files?

Post by lommes »

http://datawhore.de/sabnzbd/post-processing.html

This script does not do, what you are looking for but it should give you a simple start in writing what you need.

This script takes your downloaded files, sorts them alphabetically, merges them using mencoder and renames the output file to name the nzb had.

It should be no hard work to add a "mkdir" and the "mv" you need.
Post Reply