Something like this posix script
file: tobyteall.sh
for f in *
do
tobyte -a $f $f.new
if [ $? -eq 0 ]; then
mv $f.new $f
echo -- $f
else
rm $f.new
echo !! error $f
fi
done
You may want to change/edit the file selection in for f in *
if you don't want all files in the current directory.
Keven
----- Original Message -----
From: Johnson, Tracy
To: [log in to unmask]
Sent: Wednesday, September 29, 2010 12:18 PM
Subject: [HP3000-L] Recursive TOBYTE
I've uploaded a much of 'stuff' onto my machine using Total Commander,
but it didn't have the bytestream option with FTP.
Now that I have the files there, I'd like to make them bytestream.
Anyone have a keen way to recursively do the TOBYTE command (and rename
it back the way it was?)
visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *