[Linux-disciples] Question about syntax using mv

Jason Smith pelican317 at mac.com
Tue Oct 18 14:38:26 EDT 2005


I can never quite remember to get the syntax correct on using  
commands like "mv" and "cp" etc...

I have a directory:

~/foo

foo has files in it. I want to move it and the files in it to another  
directory. What is the syntax

mv -fvr ~/foo /bar/foo

OR

mv -fvr ~/foo /bar/foo/

At the end of the operation you should have:  /bar/foo/[file1], /bar/ 
foo/[file2], etc..

I never quite get this right.

thanks much.

j



-----------------------------
J. Smith
pelican317 at mac.com
www.pihp.com




More information about the Linux-disciples mailing list