diff options
author | 2017-02-02 03:49:03 +0000 | |
---|---|---|
committer | 2017-02-02 03:49:03 +0000 | |
commit | 5d16f769cc9182435181685eb5a5f7a151561de0 (patch) | |
tree | 99b6dcf414e0c7623be5a29e140ee06821d73a17 | |
parent | 21c889e0d4da82d201fe91ea1fd6adef9fb75d48 (diff) |
-rw-r--r-- | doc/forum/Alternative_to_git_annex_copy_which_is_as_fast_as_git_annex_get.mdwn | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/forum/Alternative_to_git_annex_copy_which_is_as_fast_as_git_annex_get.mdwn b/doc/forum/Alternative_to_git_annex_copy_which_is_as_fast_as_git_annex_get.mdwn new file mode 100644 index 000000000..a885ffb74 --- /dev/null +++ b/doc/forum/Alternative_to_git_annex_copy_which_is_as_fast_as_git_annex_get.mdwn @@ -0,0 +1,15 @@ +I have a big git-annex repository. If I add a few files on my laptop I want to sync it with my server which consists of one bare git-annex repository (server_bare) and one regular git-annex repository (server). + +I run + +git annex sync +git annex copy * --to server + +The second command is really slow since it runs git annex copy on every single file that I have locally (it sometimes takes an hour to complete). If I would instead run + +git annex sync +git annex get . + +This is usually quite fast, but it is not so easy to do since I don't keep an SSH port open on my laptop. + +My question: Is there any command that I can run on my laptop which basically runs "git annex get ." from the server? |