Charles.Forsyth20060303-partialeea662d19 years agoHistory
43 lines · 793 B · Text
RawDownload
.TH MV 1.SH NAMEmv \- move files.SH SYNOPSIS.B mv.I fromfile.I tofile.br.B mv.I fromfile ....I todir.SH DESCRIPTION.I Mvmoves.I fromfileto.IR tofile .If the files are in the same directory,.I fromfileis simply renamed;a previously existing file named.I tofilewill be (silently) removed.Otherwise,.I mvcopies.I fromfileto.IR tofile ,then removes.IR fromfile .This requires write permission for the parent directories involved..PPIf the last argument is a directory, the earlier arguments (all files) will be moved into that directory. Any previously existing files of the same name will be overwritten.Directories can only be renamed:.I mvrefuses to move one into another..SH SOURCE.B /appl/cmd/mv.b.SH "SEE ALSO".IR cp (1),.IR rm (1),.IR sys-stat (2)