diff options
author | 2012-10-21 05:36:36 +0000 | |
---|---|---|
committer | 2012-10-21 05:36:36 +0000 | |
commit | 49695c4a11954d57c928ed2e32b4ad97af85f652 (patch) | |
tree | d29d9c4b8a5b1bc04d09bc00157e2cdf6c7e3fb4 | |
parent | f7ffb4039f0dbd2119afd80c57d26cde4dbe7cbf (diff) |
Added a comment
-rw-r--r-- | doc/forum/Managing_a_large_number_of_files_archived_on_many_pieces_of_read-only_medium___40__E.G._DVDs__41__/comment_5_49ac298d39c824b0e52a239961463e09._comment | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/forum/Managing_a_large_number_of_files_archived_on_many_pieces_of_read-only_medium___40__E.G._DVDs__41__/comment_5_49ac298d39c824b0e52a239961463e09._comment b/doc/forum/Managing_a_large_number_of_files_archived_on_many_pieces_of_read-only_medium___40__E.G._DVDs__41__/comment_5_49ac298d39c824b0e52a239961463e09._comment new file mode 100644 index 000000000..2fb505fe4 --- /dev/null +++ b/doc/forum/Managing_a_large_number_of_files_archived_on_many_pieces_of_read-only_medium___40__E.G._DVDs__41__/comment_5_49ac298d39c824b0e52a239961463e09._comment @@ -0,0 +1,14 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="4.154.0.23" + subject="comment 5" + date="2012-10-21T05:36:36Z" + content=""" +I encourage playing around with the hook special remote and see how far you can make it go. + +I may be doing something vaguely like this for [[assistant/desymlink]], although I'm pretty sure it would still have a git repository associated with the directory of regular files. + +One option is to use the web special remote, with file:// urls. Assuming a given disc will always end up mounted somewhere stable, such as /media/dvd1, /media/dvd2, etc, you could then just `git annex addurl file:///media/dvd1/$file`. `git annex whereis` will show the url, which has enough info to work out the disk to mount. + +The web special remote did not support file:// urls, but I've just fixed that. The only downside is that, while it will identify files duplicated across disks, and `whereis` will show multiple urls for such files, there's only one web special remote, and so it only counts as 1 copy. This could perhaps be improved; git-annex may eventually get support for remotes reporting how many copies of a file they contain. +"""]] |