mirror of
https://github.com/Radarr/Radarr
synced 2025-01-03 13:54:29 +00:00
Improve formatting for the filter example
parent
221b79db9c
commit
5ef7223ec8
1 changed files with 2 additions and 0 deletions
|
@ -9,7 +9,9 @@ This will create api.txt and enter the json response, where you can browse at yo
|
||||||
`cat api.txt| jq '.[] | .id' > todelete.txt`
|
`cat api.txt| jq '.[] | .id' > todelete.txt`
|
||||||
|
|
||||||
JQ Allows for filtering items based on their attributes:
|
JQ Allows for filtering items based on their attributes:
|
||||||
|
|
||||||
`cat api.txt| jq '.[] | select(.monitored | not) | .id' > todelete.txt`
|
`cat api.txt| jq '.[] | select(.monitored | not) | .id' > todelete.txt`
|
||||||
|
|
||||||
would add all movies there `monitored` is not TRUE.
|
would add all movies there `monitored` is not TRUE.
|
||||||
|
|
||||||
The first indented column is the main id that radarr uses, the other indented id's are irrelevent:
|
The first indented column is the main id that radarr uses, the other indented id's are irrelevent:
|
||||||
|
|
Loading…
Reference in a new issue