home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.shrubbery.net
/
2015-02-07.ftp.shrubbery.net.tar
/
ftp.shrubbery.net
/
pub
/
pc
/
unix
/
unx.arc
/
MV.DOC
< prev
next >
Wrap
Text File
|
1985-03-18
|
1KB
|
34 lines
mv - move files
SYNOPSIS
mv file newfile
or: mv file { file2 { file3 ...}} newdirectory
DESCRIPTION
If the last argument is a directory, mv moves the named files
to the given directory without renaming them.
If only two arguments are given, and the second is not a
directory, mv renames
file
to be
newfile
.
EXAMPLES
- rename fred.txt to be joe.txt
mv fred.txt joe.txt
-to move all files ending in .txt to your parent directory:
mv *.txt ..
BUGS
Will not overwrite existing files.
Cannot handle drive letters.
Will not move between file systems.
Although it can move many files at once, it cannot rename
more than one file at a time; use DOS's RENAME command for that.
--- If the user accidentally types "mv ../*.* l" when he
wanted to type "mv ../*.* .", one file will be renamed
to "l", and no error will be issued. The correct action
would be for the error "l is not a directory" to be
printed.
Written Aug 29 1984 by Dank.
Last update Sept 5 by Dank- fixed -> . bug.