This commit is contained in:
committer
2024-06-10 13:05:44 -05:00
parent ff5b0c7d80
commit 4a3722acbb

View File

@@ -8,7 +8,8 @@ if [ $# -lt 1 ]; then
echo "usage: '$this_file_name [path_to_file]'" echo "usage: '$this_file_name [path_to_file]'"
exit 1 exit 1
fi fi
input_file=$1 #input_file=$1
input_files=( "$@" )
sync_dir_sym=/home/${USER}/syncDir sync_dir_sym=/home/${USER}/syncDir
syncdir_env_var=SYNCDIR_${HOSTNAME} syncdir_env_var=SYNCDIR_${HOSTNAME}
@@ -16,7 +17,7 @@ sync_dir=${!syncdir_env_var} # '!' to use the name and not the value
cwd=$(pwd) cwd=$(pwd)
# nifty for debugging: # nifty for debugging:
echo ${input_file} echo ${input_files}
#echo ${sync_dir_sym} #echo ${sync_dir_sym}
#echo ${sync_dir} #echo ${sync_dir}
#echo ${cwd} #echo ${cwd}