From ac824ff96bf6f6477a8094a748fb19617176720a Mon Sep 17 00:00:00 2001 From: aca Date: Wed, 25 Jan 2023 14:01:08 +0000 Subject: [PATCH] Added a comment: thanks --- ..._8290c580d2788dbefb4e41cb9671eecb._comment | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 doc/forum/Way_to_add_file_in_other_directory_without_change__63__/comment_5_8290c580d2788dbefb4e41cb9671eecb._comment diff --git a/doc/forum/Way_to_add_file_in_other_directory_without_change__63__/comment_5_8290c580d2788dbefb4e41cb9671eecb._comment b/doc/forum/Way_to_add_file_in_other_directory_without_change__63__/comment_5_8290c580d2788dbefb4e41cb9671eecb._comment new file mode 100644 index 0000000000..fb52d7871e --- /dev/null +++ b/doc/forum/Way_to_add_file_in_other_directory_without_change__63__/comment_5_8290c580d2788dbefb4e41cb9671eecb._comment @@ -0,0 +1,32 @@ +[[!comment format=mdwn + username="aca" + avatar="http://cdn.libravatar.org/avatar/b108d0f7ce179702be9003ca890a0131" + subject="thanks" + date="2023-01-25T14:01:08Z" + content=""" +Thanks joey. This is almost close to what I wanted. +But I wanted to naviagate and open the file without \"annex get\" the content. +When I add file in this way, dead symbolic link is created and it would end like + +``` +a.mp4 -> .git/annex/objects/w6/X8/***.mp4/***.mp4 +``` + +It would be great if it can be something like this + +``` +a.mp4 -> .git/annex/objects/w6/X8/***.mp4/***.mp4 -> /mnt/nas/a.mp4 +``` + +It might not be proper feature, just asking if it's possible or alternative way for doing this. + +Or + +Is there way to get the original directory of the file? Something like this +``` +$ git annex {somecommand} a.mp4 # Output: /mnt/nas/a.mp4 +``` + +I couldn't find a way to do this with `whereis`. If it's possible I could just write custom xdg-open command. + +"""]]