From 279ed47d251f6a179e0b90a690759217c26ea399 Mon Sep 17 00:00:00 2001 From: mario Date: Wed, 3 May 2017 20:52:43 +0000 Subject: [PATCH 1/4] Added a comment: Compressed file transfers --- ...22_e83ed5c0034c48baed7943c596f708ae._comment | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/sync/comment_22_e83ed5c0034c48baed7943c596f708ae._comment diff --git a/doc/sync/comment_22_e83ed5c0034c48baed7943c596f708ae._comment b/doc/sync/comment_22_e83ed5c0034c48baed7943c596f708ae._comment new file mode 100644 index 0000000000..07d93f5d9c --- /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? +"""]] From d09010d3a9bfbda1dc2324107de6fbed0389152b Mon Sep 17 00:00:00 2001 From: "https://launchpad.net/~barthelemy" Date: Thu, 4 May 2017 22:04:24 +0000 Subject: [PATCH 2/4] --- ...directory__34___special_remote_on_fat.mdwn | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 doc/forum/sneakernet_with_a_with_a___34__directory__34___special_remote_on_fat.mdwn diff --git a/doc/forum/sneakernet_with_a_with_a___34__directory__34___special_remote_on_fat.mdwn b/doc/forum/sneakernet_with_a_with_a___34__directory__34___special_remote_on_fat.mdwn new file mode 100644 index 0000000000..ed0ffb5f34 --- /dev/null +++ b/doc/forum/sneakernet_with_a_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! From de3e332bbc0b8d4638789b5b46c59f959846834a Mon Sep 17 00:00:00 2001 From: "https://launchpad.net/~barthelemy" Date: Thu, 4 May 2017 22:13:58 +0000 Subject: [PATCH 3/4] rename forum/sneakernet_with_a_with_a___34__directory__34___special_remote_on_fat.mdwn to forum/sneakernet_with_a___34__directory__34___special_remote_on_fat.mdwn --- ...ernet_with_a___34__directory__34___special_remote_on_fat.mdwn} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename doc/forum/{sneakernet_with_a_with_a___34__directory__34___special_remote_on_fat.mdwn => sneakernet_with_a___34__directory__34___special_remote_on_fat.mdwn} (100%) diff --git a/doc/forum/sneakernet_with_a_with_a___34__directory__34___special_remote_on_fat.mdwn b/doc/forum/sneakernet_with_a___34__directory__34___special_remote_on_fat.mdwn similarity index 100% rename from doc/forum/sneakernet_with_a_with_a___34__directory__34___special_remote_on_fat.mdwn rename to doc/forum/sneakernet_with_a___34__directory__34___special_remote_on_fat.mdwn From 5a1bc987ee49547845dfb155042410f1b2cee3e5 Mon Sep 17 00:00:00 2001 From: "https://launchpad.net/~barthelemy" Date: Fri, 5 May 2017 12:41:59 +0000 Subject: [PATCH 4/4] Added a comment: I found it out! --- ...ment_1_a6f0ae755b9e24fd0de5868b57c6a497._comment | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/forum/sneakernet_with_a___34__directory__34___special_remote_on_fat/comment_1_a6f0ae755b9e24fd0de5868b57c6a497._comment 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 0000000000..73c60f3b39 --- /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. +"""]]