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

Re: cp sucks or do I not know enough?



On Sat, Jul 22, 2006 at 12:03:27AM +0530, Anil Gupte wrote:
> BlankI 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.

Check out
http://yolinux.com/TUTORIALS/unix_for_dos_users.html
...and
http://www.faqs.org/docs/Linux-HOWTO/DOS-Win-to-Linux-HOWTO.html

Attachment: signature.asc
Description: Digital signature


Reply to: