diff --git a/toys/cleandestinations b/toys/cleandestinations index dc49966..10b9503 100755 --- a/toys/cleandestinations +++ b/toys/cleandestinations @@ -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"