view bin/toH @ 1:95740c6658a3

from Meg
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 10 Jun 2026 13:04:44 +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