November 8, 201114 yr I was using cp -r /source/ /dest/ but I have migrated to using rsync for copying since it shows so much more information so you aren't just wondering what the heck is going on. rsync -vaz --progress /source/ destination/ -v (turn on verbose mode) -z (Turns on compression during the transfer. This option compresses the data as it is copied over the network.) -a (This turns on archive mode. Bascially this causes rsync to recurse the directory copying all the files and directories and perserving things like case, permissions, and ownership on the target. (Note: Ownership may not be preserved if you are not logged in as the root user.)
Create an account or sign in to comment