Free Hosting Online for WorkStations

< Previous | Contents | Next >

mv – Move And Rename Files

The mv command performs both file moving and file renaming, depending on how it is used. In either case, the original filename no longer exists after the operation. mv is used in much the same way as cp:


mv item1 item2

mv item1 item2


to move or rename file or directory “item1” to “item2” or:



mv item... directory

mv item... directory


to move one or more items from one directory to another.


 

Top OS Cloud Computing at OnWorks: