echo "cd $path"
sftp -v -P 19362 -i .slurp-key "slurp@$host" <<< "cd $path"$'\n'"ls -1" |
sed 1,2d |
while read filename;do
output_filename="$outdir/${filename/jpg/jpeg}"
echo "cd $path"
sftp -v -P 19362 -i .slurp-key "slurp@$host" <<< "cd $path"$'\n'"ls -1" |
sed 1,2d |
while read filename;do
output_filename="$outdir/${filename/jpg/jpeg}"