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.)
How to copy files
Started by
wildweaselmi
, Nov 08 2011 12:22 PM
No replies to this topic
Similar Topics
| Topic | Forum | Started By | Stats | Last Post Info | |
|---|---|---|---|---|---|
Remove Language Files from Windows |
Windows | wildweaselmi |
|
|
|
VMWare Fusion Sharing Files |
Other Software | wildweaselmi |
|
|
|
tcpdumpa reliable method of capturing files from command line |
Networking Tools | wildweaselmi |
|
|
|
Add large files to Downloads II |
vBulletin | wildweaselmi |
|
|
|
Importing Large Files with phpmyadmin |
Web Software | wildweaselmi |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users















