Doing that generates "ERROR Could not rename file /foo.zip to /foo.zip.processed! Errcode: 2"hugbug wrote:If you don't need the original zip/rar and don't like the ".processed"-file to stay you can just delete the original file from the script.
May be because directory is opened for listing in nzbget. I'll look into it.dalrun wrote:Doing that generates "ERROR Could not rename file /foo.zip to /foo.zip.processed! Errcode: 2"
Hmm, I have different results. NzbProcess sends with trailing slash:dalrun wrote:As an aside, NzbProcess is sending the directory with a trailing slash and PostProcess sends a double slash (dir//cat IIRC).
Code: Select all
[DETAIL] NZB-Process: ============================ [DETAIL] NZB-Process: /home/user/download/nzbprocess.sh [DETAIL] NZB-Process: /home/user/download/nzb/ [DETAIL] NZB-Process: /home/user/download/nzb/Moyea-partest.nzb [DETAIL] NZB-Process: ============ END ================
Code: Select all
DETAIL Post-Process: ============================ DETAIL Post-Process: /home/user/download/postprocess.sh DETAIL Post-Process: /home/user/download/dst/Moyea-partest DETAIL Post-Process: /home/user/download/nzb/Moyea-partest.nzb DETAIL Post-Process: /home/user/download/dst/Moyea-partest/Moyea SWF to iPhone Converter V2. 4.vol1+2.PAR2 DETAIL Post-Process: 2 DETAIL Post-Process: 1 DETAIL Post-Process: 0 DETAIL Post-Process: ============ END ================
Merlin's Portal packs rars.dalrun wrote:Is there a site that's packing nzbs in rar files?
Fixed in r240.dalrun wrote: Doing that generates "ERROR Could not rename file /foo.zip to /foo.zip.processed! Errcode: 2"
Fixed in r239. Now nzbprocess also does not have trailing slash.PostProcess makes it correct (without slash), nzbprocess - not. I'll fix it with nzbprocess.
It looks like the PostProcess DestDir//nzb-name slashes got fixed since I last checked. Thanks for removing the trailing slash from NzbProcess directory.hugbug wrote:Hmm, I have different results.
While I'm not impressed by their layout (prefer nzbsrus and nzbmatrix, wish I could have the best of both), I've added unrar to PPWeb NzbProcess (next release).hugbug wrote:Merlin's Portal packs rars
If a Perl script is acceptable, I could probably pull the needed subs from the PPWeb script. Since I haven't heard a good reason for keeping anything but the nzb, PPWeb always deletes the zips/rars and any other files (e.g. nfos included in nzbmatrix zips). I'm not sure what would be gained by checking the timestamp before touching the nzb (PPWeb touches all extracted nzbs). PPWeb always replaces the extracted-name with the archive-name (nzbmatrix nzb-names are all numerical).hugbug wrote:What I like the script to do:
Although I would prefer a bash-script, but if you can reuse code from PPWeb, that make sense of cause.dalrun wrote: If a Perl script is acceptable
Touching all files is OK.dalrun wrote: I'm not sure what would be gained by checking the timestamp before touching the nzb (PPWeb touches all extracted nzbs).
Also OK for me.dalrun wrote: PPWeb always replaces the extracted-name with the archive-name (nzbmatrix nzb-names are all numerical).
Users browsing this forum: No registered users and 9 guests