diff options
author | CandyAngel <CandyAngel@web> | 2015-05-11 15:52:29 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2015-05-11 15:52:29 +0000 |
commit | 0d1839b060b0d4ba214d026695ed844038a70c8b (patch) | |
tree | a173ea287c0f934b2eef5e6949157f910dd35b1b /doc/todo | |
parent | 5f9b1e8e0ab2a189b2d491503bb38931b5fdaad5 (diff) |
Diffstat (limited to 'doc/todo')
-rw-r--r-- | doc/todo/transfer_between_git-annexes.mdwn | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/todo/transfer_between_git-annexes.mdwn b/doc/todo/transfer_between_git-annexes.mdwn new file mode 100644 index 000000000..ccb6908c2 --- /dev/null +++ b/doc/todo/transfer_between_git-annexes.mdwn @@ -0,0 +1,20 @@ +What do you think of the ability to transfer a file between unrelated annexes? With "migrate" already taken, I would suggest "catapult" (or "teleport")! + + git annex catapult dir1/ $HOME/otherannex/somedir/ + git annex catapult dir2/thisfile.jpg $HOME/otherannex/somedir/ + +git-annex would then: + +* Get list of present files +* Copy the file to temporary space in $HOME/otherannex/.git/annex +* fsck file +* Move file to $HOME/otherannex/.git/annnex/objects +* Create symlinks/directories in $HOME/otherannex/somedir/ +* Stage symlinks +* Drop content and rm symlink + +with the usual modifiers (e.g. --fast would skip the fsck, --force to skip non-present files?). + +Reason I ask: I have a huge annex from importing the contents of a bunch of random harddrives and will eventually sort the contents into various other annexes I can put files into (personal, general family, specific people). Having git-annex guiding and checking the transfers from the sorting annex to the individual ones would be really nice. + +Not having this isn't a showstopper (I can use rsync) so no worries if you don't think it is worth it or think it is but put it on the backburner :) Would just be a nice-to-have. |