[Top][All Lists]

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

Re: DWIM feature request for cp

From: Dan Hipschman
Subject: Re: DWIM feature request for cp
Date: Wed, 15 Aug 2007 13:35:27 -0700
User-agent: Mutt/1.5.13 (2006-08-11)

On Wed, Aug 15, 2007 at 04:01:52PM -0300, Roberto Rodr?guez wrote:
> Hello, I want to ask the developers what do they think about implementing a
> way to do "cp -r .* target" (copy files and directories starting with dot)
> without copying the parent directory ".." (I think that's what the user
> usually intends to do)

I did a quick search for "cp --exclude", since it seems this is really
the kind of thing that might get implemented, and didn't immediately
find anything interesting about it.  However, following the first link,
I found somebody asking the same question as you, and the suggestion:

        $ cp .[^.]* target

was made.

reply via email to

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