3

How to copy everything from USB to file system

view full story
linux-howto

http://askubuntu.com – I have mounted the USB and have successfully accessed it. On the USB are files and directories with files within them as well as .htaccess files. I know that the terminal can't see the .htaccess files since everything in ubuntu starting with . is hidden. However, I can see them on the GUI if I enable Show Hidden Files. Anyways, my question is, how do I copy EVERYTHING, including the .htaccess and directories while keeping the structure intact as it is on the USB to /var/www Thanks (HowTos)