aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/sync_my_local_git-annex_from_a_dump_remote/comment_2_66822b72b1450e79e8edd0c6c21d5aa6._comment
blob: 3d459371f53e116300bf7990779275aad7d51585 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[[!comment format=mdwn
 username="http://thkoch2001.myopenid.com/"
 nickname="thkoch"
 subject="pseudocode"
 date="2013-08-14T04:58:22Z"
 content="""
lets say my local annex is in direct mode, then the following might already do what I want:

cd $LOCAL_ANNEX
rsync --recursive --delete $REMOTE .
git annex add && git commit

It would however be nice if I could do the same with an annex in indirect mode or even a bare annex.
"""]]