]>
git.scottworley.com Git - picsort/blob - slurp-pics
3 while read host path
;do
6 sftp
-v -P 19362 -i .slurp
-key "slurp@$host" <<< "cd $path"$'\n'"ls -1" |
9 if [[ -e "$filename" ]];then
10 echo "skipping $filename" >&2
12 echo "getting $filename" >&2
13 echo "get -p $filename ${filename/jpg/jpeg}"
16 } | sftp -v -P 19362 -i .slurp-key "slurp@$host"