Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

Unix

Unix v6

mv(1)



mv move or rename a file name1 name2 changes the name of to If is a directory, is moved to that directory with its original file-name. Directories may only be moved within the same parent directory (just renamed). If already exists, it is removed before is renamed. If has a mode which forbids writing, prints the mode and reads the standard input to obtain a line; if the line begins with the move takes place; if not, exits. If would lie on a different file system, so that a simple rename is impossible, copies the file and deletes the original. It should take a flag, like to suppress the question if the target exists and is not writable.



mv(1)