diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-05-06 14:18:33 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-05-06 14:18:33 -0400 |
commit | 20aefed6e43eee9502801c01e7370e1b73d30b7e (patch) | |
tree | d4e96ebeca23421b71da211b27b5555a476c27a3 /doc | |
parent | 387c39b0a774a437a0f4ac82952757323a3e62cd (diff) | |
parent | f90a5f1db051bc646b06e2284b187957e6f02822 (diff) |
Merge branch 'master' of ssh://git-annex.branchable.com
Diffstat (limited to 'doc')
3 files changed, 56 insertions, 0 deletions
diff --git a/doc/forum/sneakernet_with_a___34__directory__34___special_remote_on_fat.mdwn b/doc/forum/sneakernet_with_a___34__directory__34___special_remote_on_fat.mdwn new file mode 100644 index 000000000..ed0ffb5f3 --- /dev/null +++ b/doc/forum/sneakernet_with_a___34__directory__34___special_remote_on_fat.mdwn @@ -0,0 +1,26 @@ +Hello, + +I'm starting to use git annex as a replacement for unison to sync/backup my family pictures. +It looks very promising, thank you very much for all this work! + +My big plan (for now) is to use git annex + +* on my Linux home server +* on my mac OS laptop +* on a (big) USB drive, that I could plug either on the server (at home) or the laptop (during holidays) + +Since I want the USB drive to be usable from both Linux and mac OS, I picked FAT as a file system. + +I first tried to set up a bare repository on the USB drive, but did hit the [[bugs/VFAT_crazy_limit_on_max_filenames_in_directory]]. +So I used a "directory" special remote, and copied files from the server. It works fine. + +I then created the SSH remote on the laptop and synced some content. It works quite well too. + +I would now like to plug the USB drive on the laptop and tell it +"hey, this is the same remote as the one you've seen from the server, just mounted somewhere else" +(the path is `/Volumes/usbdrive/annex` on the laptop and `/media/usbdrive/annex` on the server). + +The [[special_remotes/directory]] doc suggests it is possible, but I don't know how. +Shall I copy the relevant bit from the server `.git/config`, keeping the UUID and tweaking the mount point? + +Thank you! diff --git a/doc/forum/sneakernet_with_a___34__directory__34___special_remote_on_fat/comment_1_a6f0ae755b9e24fd0de5868b57c6a497._comment b/doc/forum/sneakernet_with_a___34__directory__34___special_remote_on_fat/comment_1_a6f0ae755b9e24fd0de5868b57c6a497._comment new file mode 100644 index 000000000..73c60f3b3 --- /dev/null +++ b/doc/forum/sneakernet_with_a___34__directory__34___special_remote_on_fat/comment_1_a6f0ae755b9e24fd0de5868b57c6a497._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="https://launchpad.net/~barthelemy" + nickname="barthelemy" + avatar="http://cdn.libravatar.org/avatar/e99cb15f6029de3225721b3ebdd0233905eb69698e9b229a8c4cc510a4135438" + subject="I found it out!" + date="2017-05-05T12:41:59Z" + content=""" +On the laptop, I just have to run + + git annex enableremote usbdrive directory=/Volumes/usbdrive/annex + +But I have not found a way to disable it (for use when the drive is unplugged) yet. It may not matter. +"""]] diff --git a/doc/sync/comment_22_e83ed5c0034c48baed7943c596f708ae._comment b/doc/sync/comment_22_e83ed5c0034c48baed7943c596f708ae._comment new file mode 100644 index 000000000..07d93f5d9 --- /dev/null +++ b/doc/sync/comment_22_e83ed5c0034c48baed7943c596f708ae._comment @@ -0,0 +1,17 @@ +[[!comment format=mdwn + username="mario" + avatar="http://cdn.libravatar.org/avatar/4c63b0935789d29210d0bd8cad8d7ac7" + subject="Compressed file transfers" + date="2017-05-03T20:52:43Z" + content=""" +Hi, + +how does \"git-annex sync --content\" transfers its file to a (regular) ssh-remote? I think it uses rsync.. Is that correct? + +I want to use compression for the file transfers. Therefore, I tried in .git/config to set: + + [remote \"origin\"] + annex-rsync-upload-options = \"--compress\" + +However, it seems that this crashes the upload. The sync just seems to hang.. Is it possible to use compression for the transfer? How? +"""]] |