toys: cleandestinations: adapt to new schema

This commit is contained in:
Vincent Riquer 2025-11-09 01:32:44 +01:00
parent 8efe73b0e5
commit aed437dc8d

View File

@ -73,7 +73,7 @@ do
do
if ! Select destination_files id \
>/dev/null \
<<<"filename = $filename"
<<<"filename = ${filename#${destinationpath["$destination"]}/}"
then
echo -e $'\r'"$filename\033[K"
(( remove )) && rm -f "$filename"