[nmglug] Fwd: cranky computer

Sam Noble s at mnoble.net
Fri May 15 13:28:19 PDT 2015


On Fri, May 15, 2015 at 02:11:34PM -0600, a wrote:

Hi Anthony,

> trying to copy mail contents where am I going wrong.
> 
> [sudo] password for a:
> cp: omitting directory ‘/home/a/.thunderbird’
> a at a-laptop:~$ sudo cp ~/.thunderbird /media/a/ok
> cp: omitting directory ‘/home/a/.thunderbird’
> a at a-laptop:~$ sudo cp ~/.thunderbird dev/sbd1/thunderbird
> cp: omitting directory ‘/home/a/.thunderbird’
> a at a-laptop:~$ sudo cp ~/.thunderbird /dev/sbd1/thunderbird

cp can be a bit tricky with respect to directories,

I suggest you use the -a switch (possibly named in your honor?)
e.g:

a at a-laptop:~$ sudo cp -a ~/.thunderbird /media/a/ok

-- 
sam


More information about the nmglug mailing list