Removing youtube and other proprietary services from my NewPipe subscriptions:
$ sed 's/\({"service_id\)/\n\1/g' newpipe_subscriptions_202211192224.json |grep -vie youtube.com -e soundcloud.com > newpipe_subscriptions_peertube-only.json
Removing youtube and other proprietary services from my NewPipe subscriptions:
$ sed 's/\({"service_id\)/\n\1/g' newpipe_subscriptions_202211192224.json |grep -vie youtube.com -e soundcloud.com > newpipe_subscriptions_peertube-only.json
> @RL_Dane jq(1) would like to have a word with you 😂
I thought about using it, but I've never used it before, and a single sed command did all the parsing I need.
NewPipe refused it, though, for some reason, so I either need to enter the subscriptions manually again. It's only... oh gee, 47. :P
Or learn how to use jq XD