u
This commit is contained in:
@@ -16,7 +16,7 @@ sync_dir=${!syncdir_env_var} # '!' to use the name and not the value
|
||||
cwd=$(pwd)
|
||||
|
||||
# nifty for debugging:
|
||||
#echo ${input_file}
|
||||
echo ${input_file}
|
||||
#echo ${sync_dir_sym}
|
||||
#echo ${sync_dir}
|
||||
#echo ${cwd}
|
||||
@@ -38,7 +38,8 @@ fi
|
||||
new_file=${input_file//$sync_dir_sym/$sync_dir}
|
||||
|
||||
if [[ -f ${new_file} ]] || [[ -d ${new_file} ]] ; then
|
||||
trash-put ${new_file}
|
||||
#trash-put ${new_file}
|
||||
echo ${new_file}
|
||||
else
|
||||
echo "error: unable to delete ${new_file}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user