toys: cleandestinations: adapt to new schema
This commit is contained in:
parent
8efe73b0e5
commit
aed437dc8d
@ -73,7 +73,7 @@ do
|
|||||||
do
|
do
|
||||||
if ! Select destination_files id \
|
if ! Select destination_files id \
|
||||||
>/dev/null \
|
>/dev/null \
|
||||||
<<<"filename = $filename"
|
<<<"filename = ${filename#${destinationpath["$destination"]}/}"
|
||||||
then
|
then
|
||||||
echo -e $'\r'"$filename\033[K"
|
echo -e $'\r'"$filename\033[K"
|
||||||
(( remove )) && rm -f "$filename"
|
(( remove )) && rm -f "$filename"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user