From: muks@6bded6d879d80c43cdf4893fabb785876eea0a7b Date: Fri, 11 Dec 2020 02:18:30 +0000 (+0000) Subject: Added a comment X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~2^2^2~76^2~364^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=16f2fcd778629be8019fc0cd221bb46f99488fc0;p=git-annex.git Added a comment --- diff --git a/doc/forum/Way_to_copy_files___40__the_symbolic_links__41__/comment_1_5f452eeb652e1bbec54cddc3735a6d4a._comment b/doc/forum/Way_to_copy_files___40__the_symbolic_links__41__/comment_1_5f452eeb652e1bbec54cddc3735a6d4a._comment new file mode 100644 index 0000000000..0ad2a90b27 --- /dev/null +++ b/doc/forum/Way_to_copy_files___40__the_symbolic_links__41__/comment_1_5f452eeb652e1bbec54cddc3735a6d4a._comment @@ -0,0 +1,17 @@ +[[!comment format=sh + username="muks@6bded6d879d80c43cdf4893fabb785876eea0a7b" + nickname="muks" + avatar="http://cdn.libravatar.org/avatar/2bb3204407446ec2adfe5c41be26cc1e" + subject="comment 1" + date="2020-12-11T02:18:29Z" + content=""" +# What I want is achieved by this longer command: + +ln -s $(realpath --relative-to=. $(readlink -m $FILE_SRC)) $FILE_DEST && \ + git add $FILE_DEST + +# Instead, a git annex command to perform the above with +# the following syntax would be useful: + +git annex ln $FILE_SRC $FILE_DEST +"""]]