Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
45c327b15d
3 changed files with 56 additions and 0 deletions
|
@ -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!
|
|
@ -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.
|
||||
"""]]
|
|
@ -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?
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue