Created
February 11, 2015 14:29
-
-
Save seliverstov-maxim/9abc1cc622e4172c48b3 to your computer and use it in GitHub Desktop.
Rsync fast comands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| a = archive - means it preserves permissions (owners, groups), times, symbolic links, and devices. | |
| r = recursive - means it copies directories and sub directories | |
| v = verbose - means that it prints on the screen what is being copied | |
| z = compress - compress file data during the transfer | |
| rsync -arvz --exclude="*.log" --exclude="*.gz" [email protected]:/var/www/site.home ./ | |
| // it's create new 'site.home' folder in current dir. |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
./some/path/to/dir :/some/path/to/
вольет папку dir в /some/path/to/