view bin/toH @ 0:2aa53823fb21

new repo
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Sat, 06 Jun 2026 10:19:04 +0100
parents
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