u
This commit is contained in:
@@ -39,7 +39,7 @@ for input_file in "$@"; do
|
||||
# please note, if a file outside of the sync directory is tp'ed, then the replacement will not happen.
|
||||
# this is great, as trash-put should work normally outside of the sync-dir. and for files residing outside,
|
||||
# no replacemant should be done.
|
||||
#
|
||||
|
||||
# new_file=${original_string//old_substring/new_substring}
|
||||
new_file=${input_file//$sync_dir_sym/$sync_dir}
|
||||
|
||||
@@ -47,7 +47,7 @@ for input_file in "$@"; do
|
||||
trash-put "${new_file}"
|
||||
#echo "${new_file}"
|
||||
else
|
||||
echo "error: unable to delete ${new_file}"
|
||||
echo "error: unable to delete \"${new_file}\""
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user