Created
February 12, 2012 05:24
-
-
Save koba-ninkigumi/1806525 to your computer and use it in GitHub Desktop.
rsync 除外ファイル指定
This file contains 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
sudo rsync -av -e "ssh -i ~/.ssh/id_rsa" --exclude-from ~/Dropbox/rsync_exclude_pattern.txt ユーザ名@ホスト名:バックアップ元ファイル名 バックアップ先ディレクトリ名/ |
This file contains 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
.DS_Store | |
.FBCLockFolder/ | |
.FBCIndex | |
.cache/ | |
.ssh/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment