HP3000-L Archives

September 2010, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Keven Miller <[log in to unmask]>
Reply To:
Keven Miller <[log in to unmask]>
Date:
Wed, 29 Sep 2010 15:20:55 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
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 *

ATOM RSS1 RSS2