view bin/toH @ 5:bca2a490a6f4

updated
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 16 Sep 2026 19:50:53 +0100
parents 2aa53823fb21
children
line wrap: on
line source

#!/bin/bash
# Usage: cat filenames | toH [subdir]
while read f; do
echo -n "$f ..."
ftp humax -n -v<<EOT
user admin 2hum
prompt
cd Download/"$1"
put "$f"
quit
EOT
echo done
done