Copy a large amount of files to usb drive

Clive Menzies clive at clivemenzies.co.uk
Sat Oct 28 11:43:55 UTC 2006


On (28/10/06 07:07), Richard wrote:
> I need to copy a large folder from my drive to another external usb
> drive...
> via the terminal window.... what commands would I use
> 
> folder pdf on /dev/hda1
> 
> to
> 
> /dev/sda1  (usb drive)

You might want to check out rsync; also I would mount the drives:
$ sudo mkdir /mnt/hda1 /mnt/sda1

$ sudo mount -t ext3(or whatever) /dev/hda1 /mnt/hda1
$ sudo mount -t ext3(or whatever) /dev/sda1 /mnt/sda1

$ rsync -av /mnt/hda1/pdf /mnt/sda

Regards

Clive



-- 
www.clivemenzies.co.uk ...
...strategies for business






More information about the ubuntu-users mailing list