From 5ef7223ec8cfe3d7a8599bebaec881cb4b05167c Mon Sep 17 00:00:00 2001 From: Gonzalo Peci Date: Fri, 15 Sep 2017 18:12:51 +0200 Subject: [PATCH] Improve formatting for the filter example --- Mass-Delete-via-API.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mass-Delete-via-API.md b/Mass-Delete-via-API.md index c87436c..0e0ba1e 100644 --- a/Mass-Delete-via-API.md +++ b/Mass-Delete-via-API.md @@ -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` JQ Allows for filtering items based on their attributes: + `cat api.txt| jq '.[] | select(.monitored | not) | .id' > todelete.txt` + 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: