From aa68243eb424ec4151f9c68a60f0a9c0b3c21f01 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnh0pv5PyOJH8dHB1Ly2rHJM4nvVd17CZ0" Date: Wed, 5 Sep 2012 18:07:06 +0000 Subject: add a question about multiple symlinks to an annexed file --- ...ltiple_sym_links___40__for_tagging_photos__41____63__.mdwn | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/forum/multiple_sym_links___40__for_tagging_photos__41____63__.mdwn (limited to 'doc/forum') diff --git a/doc/forum/multiple_sym_links___40__for_tagging_photos__41____63__.mdwn b/doc/forum/multiple_sym_links___40__for_tagging_photos__41____63__.mdwn new file mode 100644 index 000000000..c5c6f3a94 --- /dev/null +++ b/doc/forum/multiple_sym_links___40__for_tagging_photos__41____63__.mdwn @@ -0,0 +1,11 @@ +I saw a cool page talking about "tagging" photos by using symlinks: http://www.trueelena.org/computers/articles/photo_management_with_git-annex_and_bash.html + +so say I have a photo in git annex, called DSC_3285.JPG, which of course is really a symlink to ../.git/annex/objects/Zk/kj/WORM-s5296770-m1338516288--DSC_3285.JPG/WORM-s5296770-m1338516288--DSC_3285.JPG. + +I want to make an additional link to that photo in a directory called tags/. + +should I link to the symlink (DSC_3285.JPG), or to the annexed file? (../.git/annex/objects/Zk/kj/WORM-s5296770-m1338516288--DSC_3285.JPG/WORM-s5296770-m1338516288--DSC_3285.JPG) + +I might occasionally rename DSC_3285.JPG or edit the photo itself. will the git annex commit hooks update both links, or should I prepare a script to update links in tags/ after I change DSC_3285 or the annexed data? + +thank you. -- cgit v1.2.3