From 49bca4f2cf4ebc33e0677732716ccc38a8e6adbb Mon Sep 17 00:00:00 2001 From: mario Date: Wed, 3 May 2017 20:52:43 +0000 Subject: Added a comment: Compressed file transfers --- ...comment_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 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? +"""]] -- cgit v1.2.3 From 2e29b2b2cf8599012052808557c64dfdb6f8ba1e Mon Sep 17 00:00:00 2001 From: "https://launchpad.net/~barthelemy" Date: Thu, 4 May 2017 22:04:24 +0000 Subject: --- ..._34__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 000000000..ed0ffb5f3 --- /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! -- cgit v1.2.3 From cfad44b93e8e21a637164e06a81a646ff4d74394 Mon Sep 17 00:00:00 2001 From: "https://launchpad.net/~barthelemy" Date: Thu, 4 May 2017 22:13:58 +0000 Subject: 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 --- ..._34__directory__34___special_remote_on_fat.mdwn | 26 ++++++++++++++++++++++ ..._34__directory__34___special_remote_on_fat.mdwn | 26 ---------------------- 2 files changed, 26 insertions(+), 26 deletions(-) create mode 100644 doc/forum/sneakernet_with_a___34__directory__34___special_remote_on_fat.mdwn delete 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___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_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 deleted file mode 100644 index ed0ffb5f3..000000000 --- a/doc/forum/sneakernet_with_a_with_a___34__directory__34___special_remote_on_fat.mdwn +++ /dev/null @@ -1,26 +0,0 @@ -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! -- cgit v1.2.3 From f90a5f1db051bc646b06e2284b187957e6f02822 Mon Sep 17 00:00:00 2001 From: "https://launchpad.net/~barthelemy" Date: Fri, 5 May 2017 12:41:59 +0000 Subject: Added a comment: I found it out! --- .../comment_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 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. +"""]] -- cgit v1.2.3