Matvey Teplov wrote:
> Hi,
>
> So it basically passes the NZB file as a command line argument, right?
>
> Cheers
>
> On Sat, Oct 18, 2008 at 9:28 PM, Matthew Stewart
> <
ninjala...@gmail.com <mailto:
ninjala...@gmail.com>> wrote:
>
>
> Matvey Teplov wrote:
> > Hoi,
> >
> > How are you are finding out the NZB it just finished? Yourself?
> >
> > Cheers
> >
> > On Sat, Oct 18, 2008 at 4:08 AM, Matthew Stewart
> > <
ninjala...@gmail.com <mailto:
ninjala...@gmail.com>
> <mailto:
ninjala...@gmail.com>>> wrote:
> >
> >
> > Blade1024 wrote:
> > > Hi,
> > >
> > > Who knows how to make nzbperl to remove the nzb file from
> the queue
> > > directory as soon as it finishes downloading it?
> > >
> > > Cheers
> > > >
> > >
> > >
> > I dont delete them automatically, just in case I need to
> reuse the
> > nzb.
> > Instead I use the postnzb part of the config to run a script
> to append
> > ".done" onto the end of the filename.
> >
> > Matt
> >
> >
> >
> >
> > >
> No, nzbperl does it. When the current nzb is finished, there is an
> option in the nzbperl.rc file to run a "post nzb" command. Write a
> script to rename the file or delete it or play a sound or whatever and
> have this script run as the post nzb command.
> My nzbperl.rc has this line in it:
>
> postnzb=/home/vetto/scripts/postnzbperl
>
> Then the postnzbperl "script" referred to above is this:
>
> cd /media/shared/nntp/queue
> mv "$NZBP_NZBFILE" "/media/shared//nntp/queue/$NZBP_NZBFILE.done"
>
> Got it?
>
>
>
>
> >
right.