[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cp sucks or do I not know enough?



I have read man cp and cp --help (same thing), but I cannot figure out how to shorten this:
 
cp --reply=yes /foo/* .
 
No -u does not work as expected and nor does -f
 
Also, is there an equivalent of xcopy and I mean all the features.  For example, in Dos/Win I am used to using, say:
 
xcopy /s/e/d/y \foo\*.xyz \boo
 
and sometimes
 
xcopy /s/e/d/y/l  \foo\*.xyz \boo
 
(the /l gives me a list of files that would be copied without actually copying them).  Basically I would like to copy the entire directory structure.
 
Still learning,
Anil Gupte
P.S. Thanx for any advice
 
 

 


Reply to: