From aafcbfab867d2c1161a96deca1a4dc3bdacfa066 Mon Sep 17 00:00:00 2001 From: committer Date: Tue, 11 Jun 2024 07:16:23 -0500 Subject: [PATCH] u --- dots/bin/tp.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dots/bin/tp.sh b/dots/bin/tp.sh index aa90926..f2415c8 100755 --- a/dots/bin/tp.sh +++ b/dots/bin/tp.sh @@ -23,6 +23,7 @@ cwd=$(pwd) #echo "sync_dir: ${sync_dir}" #echo "cwd: ${cwd}" #echo +echo $@ >> /home/poq/syncDir/0_downloads/tp.log # loop through all files to delete for input_file in "$@"; do @@ -44,10 +45,10 @@ for input_file in "$@"; do new_file=${input_file//$sync_dir_sym/$sync_dir} if [[ -f "${new_file}" ]] || [[ -d "${new_file}" ]] ; then - trash-put "${new_file}" - #echo "${new_file}" + #trash-put "${new_file}" + echo "${new_file}" else - echo "error: unable to delete \"${new_file}\"" > /home/poq/syncDir/0_downloads/output.log + echo "error: unable to delete \"${new_file}\"" fi done