pavement

Mv

From FreeBSDwiki
Revision as of 17:25, 23 December 2004 by Dave (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

mv -- move. The equivalent of "rename", since on unix systems, a file's full location is the same thing as it's name.

Use:

samizdata# mv /home/dave/myfile /tmp/myfile

moves myfile from /home/dave/ to the /tmp/ directory

Common Flags

-v verbose
-i prompt before overwriting existing files 
-n no-overwriting existing files -- cancels any previous -f switches
-f force -- cancels out any previous -i or -n switches
Personal tools