This repository was archived by the owner on Nov 18, 2022. It is now read-only.
This repository was archived by the owner on Nov 18, 2022. It is now read-only.
console mode "hide" instead of delete #819
Open
Description
I use console mode to delete some entries from history.
I've got a script I wrote that sits inside my container that I can call with a podman exec -it :
$ podman_shell nzbget cat /config/nzb_purge
#!/bin/bash
for i in $(/app/nzbget/nzbget -c /config/nzbget.conf -L H |egrep -i "$1" |awk '{print $1}'|sed s'/\[\(.*\)\]/\1/'); do
/app/nzbget/nzbget -c /config/nzbget.conf --edit H D $i >> /config/purge.log
done
From the command line, the following options are available for manipulating the history :
- for history (H):
D Delete
P Post-process again
R Download remaining files
A Download again
F Retry download of failed articles
O <name>=<value> Set post-process parameter
B Mark as bad
G Mark as good
S Mark as success
From the webgui, the delete option has the "hide" option which is recommended, which helps to keep track in case the same nzb gets queued for download in the future.
Is it possible to add the "hide" option to console mode?
e.g. maybe lower case 'd' for "hide", upper case "D" for delete.
/app/nzbget/nzbget -c /config/nzbget.conf --edit H d $i >> /config/purge.log
Metadata
Metadata
Assignees
Labels
No labels