Moving Files

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
fade
Newbie
Newbie
Posts: 13
Joined: November 4th, 2008, 8:40 am

Moving Files

Post by fade »

Hi, is it possible that when a file has finished downloading and extracting to move certain of these extracted files to different folders.

At the moment you can delete these files but, not move them.

For example I would like to move all .nfo files to a special nfo folder.
Does anyone know how I might do this?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Moving Files

Post by shypike »

Write a user script.
Just an example:

Code: Select all

@echo off
copy %1\*.nfo MY-NFO-FOLDER
More info on user scripts: http://sabnzbd.wikidot.com/user-scripts
fade
Newbie
Newbie
Posts: 13
Joined: November 4th, 2008, 8:40 am

Re: Moving Files

Post by fade »

Hi, that seems to be what im after.
How do you actually create a script? there foes seem to be any documentation i.e. what do you call the file, what file type should it be etc?
fade
Newbie
Newbie
Posts: 13
Joined: November 4th, 2008, 8:40 am

Re: Moving Files

Post by fade »

looking at other peoples scripts I have made a nfo.cmd file. Put the above in there altering where I want the files mvoed to.
Gone config->folders and set the default directory for scritps to D:\newsgroup.

Under switches _>config.
It wont let me set a default script. It is just an empty drop down box.

Any idea why?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Moving Files

Post by shypike »

You need to tell SABnzbd where the scripts are.
Config->Folders, item "Script Folder".
Post Reply