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

Re: Help with command - cp



On Sun, 2014-01-26 at 14:26 +0000, Lisi Reisz wrote:
> I am wanting to use the CLI to copy some files from dirA to dirB.  I 
> want to exclude all hidden files.  Will this command achieve it? :--
> 
> cp -Rp /path/to/sourcedir/A/* /path/to/destinationdir/B

Globbing lady! Yesno, it won't copy hidden files in A/, but it will copy
files in A/foo_bar.


Reply to: