diff options
author | 2013-07-07 14:13:33 -0400 | |
---|---|---|
committer | 2013-07-07 14:13:33 -0400 | |
commit | 3eb1541e050b80492ad0cc54c751d99b910478f9 (patch) | |
tree | c5d7b48588fbbbc6c8c50694c05a0023a3f23388 | |
parent | 84ade14235951de7ddee3af11c47afa7019b5c94 (diff) | |
parent | b294d4fba2bc5c0451da14b043b0668c52256d14 (diff) |
Merge branch 'master' of ssh://git-annex.branchable.com
-rw-r--r-- | doc/todo/wishlist:___96__git_annex_import__96___--_An_easy_way_to_get_data_into_an_annex/comment_1_b9fd1bfaf9a3d238fdb7bc9c2d75fe5f._comment | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/todo/wishlist:___96__git_annex_import__96___--_An_easy_way_to_get_data_into_an_annex/comment_1_b9fd1bfaf9a3d238fdb7bc9c2d75fe5f._comment b/doc/todo/wishlist:___96__git_annex_import__96___--_An_easy_way_to_get_data_into_an_annex/comment_1_b9fd1bfaf9a3d238fdb7bc9c2d75fe5f._comment new file mode 100644 index 000000000..ff9030c99 --- /dev/null +++ b/doc/todo/wishlist:___96__git_annex_import__96___--_An_easy_way_to_get_data_into_an_annex/comment_1_b9fd1bfaf9a3d238fdb7bc9c2d75fe5f._comment @@ -0,0 +1,22 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="4.153.254.222" + subject="comment 1" + date="2013-07-07T18:09:20Z" + content=""" +This is such a good idea that I went into the time machine and arranged for it to be implemented in June 2012: + +<pre> + import [path ...] + Moves files from somewhere outside the git work‐ + ing copy, and adds them to the annex. Individual + files to import can be specified. If a direc‐ + tory is specified, all files in it are imported, + and any subdirectory structure inside it is pre‐ + served. + + git annex import /media/camera/DCIM/ +</pre> + +I don't see much use for `--copy-only` though. so did not implement it them (also I needed to spend some of my time at the race track). It seems to me that using `--copy-only` as you describe it would do everything except for add the files to git. You can get the same behavior by using `git annex import`, which only stages the new files but does not commit them, and then moving files around and running `git annex add` on them, followed by committing. +"""]] |