charles cashion <firstname.lastname@example.org> wrote:[color=blue]
> I want to copy /home/ccashion to /media/usbdisk.[/color]
> QUESTION 1: How can I find the size of /home/ccashion?[/color]
du -sh /home/ccashion
du -xh /home/ccashion
> QUESTION 2: is there something wrong with this command?
> [ccashion@newdawg /]$ cp -r /home/ccashion /media/usbdisk[/color]
Looks fine to me. If you want to avoid overwriting files on sda1
without warning, use cp -ir .