Assuming we are storing NZB backups in a folder, what about storing ones which have a category in a sub folder...
i.e.
/files/NZB_backups/tv
/files/NZB_backups/movies
/files/NZB_backups/linuxdistros
Would make finding an old NZB file a LOT easier ;-) Maybe it can be done already and I have not worked out how yet??!
NZB Backups by Category?
Re: NZB Backups by Category?
You can use a postprocessing script to do that. Note that scripts receive a bunch of useful info in the form of environment variables in addition to the 8 command-line params listed, including the full path to the nzb.
Re: NZB Backups by Category?
I confess I am not very good at (and hence not keen on) the scripts... but if someone wrote one ....
Re: NZB Backups by Category?
I think the logic must be something LIKE
If $7=0 and SAB_CAT <> "" mv SAB_ORIG_NZB_GZ /mnt/tdrive/NZB_backup/SAB_FILENAME else mv SAB_ORIG_NZB_GZ /mnt/tdrive/NZB_backup/SAB_CAT/SAB_FILENAME
(first test the thing worked, then if category empty, just chuck in backup dir and if category NOT empty then move to a sub-dir with category name in backup dir)
But presumably that means I have to switch off NZB backups in the SAB config... plus this would be a bash script rather than python
If $7=0 and SAB_CAT <> "" mv SAB_ORIG_NZB_GZ /mnt/tdrive/NZB_backup/SAB_FILENAME else mv SAB_ORIG_NZB_GZ /mnt/tdrive/NZB_backup/SAB_CAT/SAB_FILENAME
(first test the thing worked, then if category empty, just chuck in backup dir and if category NOT empty then move to a sub-dir with category name in backup dir)
But presumably that means I have to switch off NZB backups in the SAB config... plus this would be a bash script rather than python