diff --git a/dots/bin/tp.sh b/dots/bin/tp.sh index c0b80d0..078feef 100755 --- a/dots/bin/tp.sh +++ b/dots/bin/tp.sh @@ -8,7 +8,8 @@ if [ $# -lt 1 ]; then echo "usage: '$this_file_name [path_to_file]'" exit 1 fi -input_file=$1 +#input_file=$1 +input_files=( "$@" ) sync_dir_sym=/home/${USER}/syncDir syncdir_env_var=SYNCDIR_${HOSTNAME} @@ -16,7 +17,7 @@ sync_dir=${!syncdir_env_var} # '!' to use the name and not the value cwd=$(pwd) # nifty for debugging: -echo ${input_file} +echo ${input_files} #echo ${sync_dir_sym} #echo ${sync_dir} #echo ${cwd}