[Coco] NitrOS-9 dsave command
Bill Pierce
ooogalapasooo at aol.com
Fri Jul 24 17:07:24 EDT 2015
As an alternative to the DSave cmd, I use "arc", which allows me to copy ANY directory to ANY disk system, including sub-directories if needed. It will copy just files, just directories, directories and files, multiple directorie levels, etc. I have used it on full 120 meg HDs with no problems. The cmd syntax is simple and needs no pipes. I've used arc since the late 80s when I got it off of Delphi.
Usage: arc [-acdeflmuv] from_dir to_dir
Example:
arc -cde /x1 /h0/FILES (copies all files from /x1 to /h0//files but asks permission for each file and directory).
a = all files
c = confirm file if not there
d = confirm non-existant directory
e = confirm existing directory
f = prevent copy of files
ln = only n levels of the tree (0-9)
m = do multiple (all) directories
v = verify the copy
u = force uppercase for comparisons
The only problem i've had is directories that start with numbers (originally illegal in OS9) and files with the "s" attribute set. I have the source so this could easilly be addressed as well.
You can find "arc" on "My Favorite OS9/NitrOS9 Utilities" disk image on my site.
https://sites.google.com/site/dabarnstudio/favorite-os9-utilities
Bill Pierce
"Charlie stole the handle, and the train it won't stop going, no way to slow down!" - Ian Anderson - Jethro Tull
My Music from the Tandy/Radio Shack Color Computer 2 & 3
https://sites.google.com/site/dabarnstudio/
Co-Contributor, Co-Editor for CocoPedia
http://www.cocopedia.com/wiki/index.php/Main_Page
Global Moderator for TRS-80/Tandy Color Computer Forums
http://www.tandycoco.com/forum/
E-Mail: ooogalapasooo at aol.com
-----Original Message-----
From: Robert Gault <robert.gault at att.net>
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Sent: Fri, Jul 24, 2015 4:38 pm
Subject: Re: [Coco] NitrOS-9 dsave command
Bill wrote:
> Without manually creating each directory on /D1 and using the
command CHD /DD/CMDS, DSAVE -S32 /D1/CMDS ! SHELL, all I ended up with was /D1
with every one of the files from every directory in one place.
>
The new
version of dsave included with the NitrOS-9 disks uses only one
directory in
the command line, the destination directory. That means you can't
do what you
want. The original dsave command in OS-9 Level-II had both the
source and
destinations in the command line.
In any case, you will need to create the
target directory on the fresh disk,
move into the required directory on /DD,
and then dsave to the target directory
on the new disk. Any sub-directories
will automatically be created.
Robert
--
Coco mailing
list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco
More information about the Coco
mailing list