home *** CD-ROM | disk | FTP | other *** search
- Mv: Global Files Renamer
-
- Usage: Mv [Old Name] [New Name]
-
- [Old Name]:
- Consists of a pathname and a filename, like df0:xxx/thisfile.
- If pathname is unspecified, it is default to the current dir you are
- in. Filename must be specified for the oldname, it is either a regular
- filename or a directory name, in which case the regular renaming will
- take place, or a pattern which can consist of a '*' for any characters,
- or a '?' for a single character.
- Example: abc?.*, *.*, this_file, ram:test.*, etc
-
- [New Name]:
- Also consists of a pathname and a filename.
- If pathname is unspecified, the current directory will be selected.
- If the filename is unspecified, the old filename will be used.
- Once again the filename maybe a regular name or a pattern.
-
- Examples:
-
- Mv abc xxx : Rename abc to xxx on the current dir
- Mv abc xxx/ : Rename abc to abc on the sub-dir xxx
- Mv xxx/abc : Rename abc on xxx to abc on the current dir
- Mv abc / : Rename abc to abc on one dir up
-
- Mv * xxx/ : Rename all the files to xxx/
- Mv *.arc arc/ : Rename all files with ext arc to arc sub dir
- Mv *.o obj/*.obj : Rename all .o to obj sub-dir, changes .o to .obj
-
- Mv abc?.c "abc ?.c" : Rename all files that start with "abc", has
- a single char, and end with ".c" to new file
- that has a space after "abc"
- '"' is used for the pathname/filename that as imbedded space(s).
-
- -------------------------------------------------------------------------
- Use Mv, discover how useful it is. Give it to all your friends, post it
- on all the boards, put it on public domain compilations, THEN if you
- decide to keep it, send me $10 (if you don't keep it, I guess you like
- the rename command, telling you the truth I hate it):
- Andry Rachmat
- 10715 Roosevelt NE #7
- Seattle, WA 98125
- In return you will receive the upgrade version of Mv (see below).
- I will really appreciate it, and lift my ego to work on more usefull program
- like this. I am thinking about "copy" command with verify option, kill
- file after copying, and mainly the ability to copy files to different names
- (AmigaDos copy command can't handle this, it will copy bunch of files but
- the names will be the sames. You can't copy all ".pic" files to become
- ".picture" files). This will be also include in the upgrade package
- (if it is done, for sure for further future upgrade).
- Support your poor programmer with no job, send in your $10.
- --------------------------------------------------------------------------
- What do you get for 10 bucks now?
-
- 1. Mv will have the switches, like do testing only no renaming, do
- renaming for directories instead of files, and verify if you want to
- rename the file(s).
- 2. Now, the "*" wild card can't differenciate between "test" and "this.test".
- It acts as "*.*" all the time so you can't pick up just the files with no
- extensions.
- 3. AmigaDos wildcard "#?" will be supported.
- 4. Due to the bugs on the AmigaDos Ram handler, the program won't work
- correctly for files on ram. I have figured a way around this bugs,
- and it will be on the upgrade.
- ---------------------------------------------------------------------------
-
- MV is copyright (c) 1987 by Andry Rachmat. All rights reserved.
-
- Permission granted for non-commercial distribution as long as
- they are in this archive format with no modification.
- I make no warranties, either expressed or implied, with respect
- to the program described herein, its quality, performance,
- merchantability, or fitness for any particular purpose.
- This program is provided "as is" and the entire risk
- as to its quality and performance is with the user.
-
-