copy only non-hidden files

Ralf Mardorf silver.bullet at zoho.com
Tue Oct 24 03:06:23 UTC 2017


On Tue, 24 Oct 2017 04:56:05 +0200, Ralf Mardorf wrote:
>On Mon, 2017-10-23 at 23:40 -0300, Duane Whitty wrote:
>> Wouldn't cp /home/duane/*/* /home/someone/ result in my .gnupg
>> directory being copied?  
>
>I mentioned "globbing"
>
>  http://lmgtfy.com/?q=shell+globbing
>
>What do you get, if you run
>
>  ls -d /home/*/*
>
>or
>
>  ls -d /home/*/*/*
>
>?


FWIW

You probably did not mean cp /home/duane/*/* , but cp /home/duane/* ,
right?





More information about the ubuntu-users mailing list