From a6e55caee28f6fa190ce1972f836d9b1b59fca5e Mon Sep 17 00:00:00 2001 From: committer Date: Tue, 11 Jun 2024 07:10:48 -0500 Subject: [PATCH] u --- dots/bin/tp.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dots/bin/tp.sh b/dots/bin/tp.sh index 9492492..334ab63 100755 --- a/dots/bin/tp.sh +++ b/dots/bin/tp.sh @@ -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