Re: cp -ar to external harddrive

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

 



From: "amar_padhi" <amar_padhi@xxxxxxxxxxx>

have you tried cp -pr. The 'p' option keeps the permissions, owner etc.

      -a, --archive
             same as -dpR

So cp -a covers the cp -ar or cp -pr field quite comprehensively.
(Note that -r is the same as -R for cp.)

{^_-}


On Tue, 2005-12-06 at 07:33 +0000, Bryan Hepworth wrote:
Hi Everyone
I'm trying to back up /home to an external hard drive (maxtor usb) and
wanted to keep the file permissions but when I do a
cp -ar /home /media/usb it complains about not being able to do the permissions and they all go across as root instead. Anyone know where I'm going wrong? Thanks Bryan



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux