aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/Sync_files_from_remote_to_remote/comment_3_b89701582b40e2c337a1a49733877210._comment
blob: 73c9cc0bcd2c33c86e9a392b8e4e0c1daf2632c9 (plain)
1
2
3
4
5
6
7
8
9
10
[[!comment format=mdwn
 username="https://www.google.com/accounts/o8/id?id=AItOawnm19dBCRphmtjXfopm_NpvnRwz-qIJ2Tw"
 nickname="Remi"
 subject="May be use a prefered content expression about what is in the usb stick"
 date="2015-01-11T09:14:47Z"
 content="""
Is there a full git repos on the usb stick? if yes You could add a remote on it and run `git annex --content` from there.

You could also try to change the preferred content of your local machine to include something like \"--not --in=usb\". With this you local repos will download file not in the usb stick, copy it to the usb stick and then remove it from the local repos. (I didn't check exactly the syntax of the preferred content, so my expression could be incorrect, but I hope you get the idea)
"""]]