From 4a3722acbbb43e5148dadfc435f2c12a59ca2557 Mon Sep 17 00:00:00 2001 From: committer Date: Mon, 10 Jun 2024 13:05:44 -0500 Subject: [PATCH] u --- dots/bin/tp.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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}