Move to NAS/server

Come up with a useful post-processing script? Share it here!
Post Reply
Usenet
Jr. Member
Jr. Member
Posts: 87
Joined: February 12th, 2008, 6:04 pm

Move to NAS/server

Post by Usenet »

STOP reading this is not needed, as kindly explained by neilt0... :D

(just forgot to have absolute path's to my nas...)

Code: Select all

set newdir=%1
set newdir=%newdir:C:\Program\SABnzbd\download\complete=\\nas\media\Download%
set sourcedir=%1
robocopy %sourcedir% %newdir% /MOVE /E /V /NP /XF *.nzb /R:10 /W:30 >>C:\Program\SABnzbd\Robocopy.log
Uses the Robocopy.exe program from [url=http://"http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en"]windows 2003 resource kit[/url] and will create a new destination folder on you server/NAS and move the content from you computer to the server. Once done the ..\complete folder will be empty...

the

Code: Select all

/XF *.nzb
part just skips .nzb files unless they are already cleared by SABnzbd

Enjoy!
Last edited by Usenet on February 16th, 2008, 5:57 pm, edited 1 time in total.
User avatar
neilt0
Full Member
Full Member
Posts: 120
Joined: January 22nd, 2008, 4:16 am

Re: Move to NAS/server

Post by neilt0 »

How is this different/better from setting your complete folder to the server?
Usenet
Jr. Member
Jr. Member
Posts: 87
Joined: February 12th, 2008, 6:04 pm

Re: Move to NAS/server

Post by Usenet »

First of all , for me it doesn't work. All folders are assumed to be under the install folder ... 
Secondly, it must be much faster to access the files locally during checking and repairing and once done , sent it away :)
User avatar
neilt0
Full Member
Full Member
Posts: 120
Joined: January 22nd, 2008, 4:16 am

Re: Move to NAS/server

Post by neilt0 »

Usenet wrote: First of all , for me it doesn't work. All folders are assumed to be under the install folder ... 
Works for me, and has done for years. The directory I unpack to on my NAS is named as follows: \\LSLIVE\usbdisk1\
Usenet wrote: Secondly, it must be much faster to access the files locally during checking and repairing and once done , sent it away :)
That's done anyway, unpacking to the remote directory is only done after par2 check and repair locally.
Usenet
Jr. Member
Jr. Member
Posts: 87
Joined: February 12th, 2008, 6:04 pm

Re: Move to NAS/server

Post by Usenet »

Aha, even for the win32 version of SABnzbd? 
User avatar
neilt0
Full Member
Full Member
Posts: 120
Joined: January 22nd, 2008, 4:16 am

Re: Move to NAS/server

Post by neilt0 »

Usenet wrote: Aha, even for the win32 version of SABnzbd? 
Yes.
mcka
Newbie
Newbie
Posts: 15
Joined: February 18th, 2008, 8:57 pm

Re: Move to NAS/server

Post by mcka »

Why don't you run SABnzbd on your NAS? Works like a charme here (Synology DS207) :D
User avatar
neilt0
Full Member
Full Member
Posts: 120
Joined: January 22nd, 2008, 4:16 am

Re: Move to NAS/server

Post by neilt0 »

mcka wrote: Why don't you run SABnzbd on your NAS? Works like a charme here (Synology DS207) :D
Hilarious. I wrote guides on how to run it on a NAS!
http://forums.sabnzbd.org/index.php?top ... een#msg289

I run on the NAS and on a PC, unpacking to the NAS. PC is faster at downloading.
Post Reply