Copy a large amount of files to usb drive

rpowersau at gmail.com rpowersau at gmail.com
Sat Oct 28 12:42:01 UTC 2006


On 10/28/06, Clive Menzies <clive at clivemenzies.co.uk> wrote:
> On (28/10/06 20:01), Stephen Liu wrote:
> > > $ rsync -av /mnt/hda1/pdf /mnt/sda
> >
> > Can owner and permission be retained?  Tks.
>
> From man rsync:
>
>  rsync -avz foo:src/bar /data/tmp
>

If using cp:

cp -a  source destination

will preserve mode, ownership, and timestamps and copy recursively.

-- 
Regards,
Russ




More information about the ubuntu-users mailing list