* Felix C. Stegerman wrote on 2014-01-26 at 23:58 (+0100): > On 2014-01-26 23:24, Mathias Bauer wrote:
> > * Mr Smiley wrote on 2014-01-26 at 20:56 (+0000): > > > > > > cp -Rp /path/to/sourcedir/A/* /path/to/destinationdir/B > > > > > > If you don't put a / after B it will copy all files to a > > > file called B > > > > No, obviously not. > > > > [...] > > It does if there's only one file in A and B does not exist. > > $ mkdir A; echo HI >> A/foo > $ cp -a A/* B > $ cat B > HI Yes, but ... come on, that's a rather trivial shell expansion! By the way, don't you consider it a little bit strange to change the original problem conditions *afterwards*? * Lisi Reisz wrote on Sun, 26 Jan 2014, at 14:26 (+0000): > I am wanting to use the CLI to copy some files from dirA to > dirB. I want to exclude all hidden files. Read ... file*S*. Regards, Mathias -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140127010425.ga31...@gmx.org