spotify: fix clean script

This commit is contained in:
Vincent Bernat 2022-07-30 09:20:55 +02:00
parent 9c23fbea2d
commit 09831608e3

View file

@ -10,5 +10,6 @@ pw-cli dump short client \
echo $(pw-cli dump $id | sed -nE 's/^\s*object.serial = "([0-9]*)"/\1/p') $id
done \
| sort -n \
| cut -d' ' -f2 \
| head -n-1 \
| xargs -trn1 pw-cli destroy