home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
newc_dev
/
move11.lha
/
move.doc
< prev
next >
Wrap
Text File
|
1992-09-06
|
4KB
|
133 lines
Move 1.1
Written by Asher Feldman
Note: Move requires both the Copy and Delete commands in your c directory.
This is my first attempt at writing a 'C' program for the Amiga, as well
as my first program to be released in the public domain.
Changes since 1.0
-----------------
Move 1.1 contains a bug fix, which would cause crashes on some
machines. 1.1 also now contains an imbeded version string, and doesn't
give you a long message when moving multiple files (with wildcards.)
What is it?
-----------
Move is a simple "move" command. It allows you to move files to and from
any device or directory. It performs the same function as the Move command
on a directory utility, but from the CLI or Shell. It can also be used as
a Rename command.
Under 2.0, Move will work with file links. (It took me a day or two to find
out how to even make a link! :-)
Usage
-----
Move takes two arguments:
Move <arg1> <arg2>
<arg1> is the file you want to move. It can contain wildcards, such as
"#?.lha". If you are running under 2.0 (and if you aren't, why not?) and
use a program such as Starburst to activate the * wildcard, you can make
it "*.lha" instead.
<arg2> is the destination. It can be a filename, directory or device.
To move the file "readme" to ram: you would enter:
Move readme ram:
To move all files that have the prefix "mod" to the directory DH0:Music
you would enter:
Move mod#? DH0:Music
If you want to move every file in one directory to another, it would be:
Move <dir> <dir>
Move can also be used to rename a file. To change the name of the file
"SONG.MOD" to "MOD.SONG" you would enter:
Move SONG.MOD MOD.SONG
General Info
------------
There were already two "Move" utilities floating around in the public
domain that I knew of when I wrote this. Both have built-in copy and
delete routines. I thought this was a waste of space, especialy for those
of us with very limited resources. Thus I wrote Move, which takes advantage
of the "Copy" and "Delete" commands already on everyone's system. This
allows Move to be less than half as small as the two other "Move" utils.
Move will accept the standard C= wildcards, #?, and if you're using the
arp.lib Copy and Delete commands, it accepts the arp.lib * wildcard.
Move will obviously run much faster if you have the Copy and Delete
commands in residence.
* * *
BUGS
----
In the case of
Move yy xx
where the file xx already exsists, xx will be overwriten without warning.
If Move for some reason cannot copy the file(s), it will exit and your
files will not be deleted.
How To Contact Me
-----------------
Send bug reports/comments, etc.. to:
PORTAL: Wizard0
INTERNET: asher@netcom.netcom.com
Wizard0@cup.portal.com
US Snail:
Asher Feldman
4791 Calle de Tosca Phone: (408) 266-7917
San Jose, CA 95118
If you find this program useful, and would like to help out a poor high
school student (as well as a die-hard Amiga user!) then I would greatly
appreciate it if you sent a small amount of money, or maybe a nice euro
demo to the address above. I would be even MORE grateful if you sent me a
1.2GIG hard drive or a v.32bis modem! :-)
And Now For The Legal Claptrap
-------------------------------
If this program causes your computer to blow up, or your hard drive to
implode, or anything else that isn't too nice, then it's your fault, not
mine. This program is not "guaranteed" to do anything. (although if it
doesn't, please send me (E)mail!)
This program may be freely distributed as long as this doc file is included.
And remember:
ONLY _ C_o m m o d o_r_e _
/\\ l\\ /l ll // \ /\\
/ \\ l \\ /ll ll(< __ / \\ MAKES IT POSSIBLE!!!!
/--- \\l \X ll ll \\_ll/--- \\
/______________________________\\
A.F.