"Ivan X" <
iv...@ivanx.com> wrote:
> I'm looking for something that can copy ProDOS files
Like me, if you are familiar with Unix and/or the C programming language you
may wish to consider 2 alternatives to tricycles with training wheels:
1. The Aztec C Unix-Like Shell for ProDOS (SHELL.SYSTEM) has a built-in
command called cp, which copies files and their attributes. SHELL.SYSTEM
also provides shell-scripting (exec files). The cp command will accept
wild-cards.
For example, to copy all the c source files from the FOOBAR directory to the
current directory:
cp /FOOBAR/*.c .
The Aztec C pdf documentation provided by the late Paul R. Santa Maria
contains a synopsis of the cp command in the utilities chapter, and a full
chapter dedicated to SHELL.SYSTEM.
2. Aztec C itself can also be used to obtain fileinfo, read ProDOS directory
blocks, and everything else that one needs to write a custom copier for raw
ProDOS or alternately a utility for SHELL.SYSTEM, of any complexity that
will run without the need or desire of BASIC.SYSTEM assuming that one is
proficient in the C programming language.
The BASIS for such a utility can be reviewed by downloading from the link
from a recent post I made in here (see below):
Note: Disk images with SHELL.SYSTEM are provided so you can experiment to
your gentle heart's desire with this stuff. Source Code that can be modified
to build what you are asking for is both here and in the AppleX distribution
of the Aztec C 3.2b compiler which I updated a little earlier this year...
x--- snip ---x
Newsgroups: comp.sys.apple2
Sent: Monday, July 15, 2013 4:25 PM
Subject: Announce: Aztec C Shell Utilities including No Slot Clock Examples
Available for Download at the Aztec C Website at the following link:
http://www.aztecmuseum.ca/UTL.zip
This zip file contains a number of Apple IIe Utilities written in Aztec C
that run under the ProDOS Aztec C Shell.
Some of these utilites make use of the Apple IIe's No Slot Clock.
Within this folder are subfolders that contain the source code and compile
environmnet for these and working disk images that group these in a topical
nature. Hopefully they will prove both useful and informative.
The following is a brief synopsis of these utilities as they are grouped on
disk. The Source Code comments should prove quite informative, and some
documentation is also provided.
CHANGE.DSK
CHMOD - change file permissions
CHTYPE - change file types
TOUCH - change file dates
CLOCK.DSK (Aztec C Shell)
D8 - Gets and Sets ProDOS date and/or time.
TD - Display Date and Time - Y2K Fixup Revision
CLOCKPRO.DSK ("raw" ProDOS)
TD.SYSTEM - Same as above but for "raw" ProDOS
SHELLUTL.DSK (previously released)
CLS - clear text screen
LCASE - lower case filter
MORE - text file pager filter
SORT - sort filter
UCASE - upper case filter
LIST.DSK
FI - List ProDOS 8 file info (try it)
LM - List Multiple Files (try it)
All of these are part of a larger collection that will include DOS 3.3 Shell
Utilities as well as ProDOS Shell Utilities, but since that work has been
coming slowly, I am releasing what you see here in advance of the larger
collection.
The Aztec C Shell offers wildcards and other Unix-like features which are
supported by some of these utilities.
I hope that you will find what I have here so far useful and informative.
Especially read the source code and try these for more details.
Regards,
Bill Buckels
bbuc...@mts.net
July 2013