bug-coreutils
[Top][All Lists]
Advanced

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

Re: command cp


From: Bob Proulx
Subject: Re: command cp
Date: Fri, 18 May 2007 00:18:04 -0600
User-agent: Mutt/1.5.9i

gri grigri wrote:
> I have no bug, but an missing feature:
> cp -p ... ...
> like 
> mkdir -p ...
> for the case, that I want to copy a file in a yet not existing directory.

Try using rsync.  It will create the directory.

  rsync somefile somedir/

It will create somedir and place somefile within it.

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]