From a52c1ec742a294e286e90f35299835d9adeb8035 Mon Sep 17 00:00:00 2001 From: clacke Date: Wed, 22 Apr 2015 13:16:01 +0000 Subject: Added a comment --- .../comment_8_a2b10366426158bcb6c91df6c2e843b7._comment | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/forum/Adding_files_with_wildcard_on_Mac_Yosemite/comment_8_a2b10366426158bcb6c91df6c2e843b7._comment diff --git a/doc/forum/Adding_files_with_wildcard_on_Mac_Yosemite/comment_8_a2b10366426158bcb6c91df6c2e843b7._comment b/doc/forum/Adding_files_with_wildcard_on_Mac_Yosemite/comment_8_a2b10366426158bcb6c91df6c2e843b7._comment new file mode 100644 index 000000000..c57fbaf04 --- /dev/null +++ b/doc/forum/Adding_files_with_wildcard_on_Mac_Yosemite/comment_8_a2b10366426158bcb6c91df6c2e843b7._comment @@ -0,0 +1,14 @@ +[[!comment format=mdwn + username="clacke" + subject="comment 8" + date="2015-04-22T13:16:01Z" + content=""" +This is a bit more readable, even avoids the commas and casing of the original line I was using: + +[[!format sh \"\"\" +$ find . -name .git -prune -o -print0 | grep -izZ -f <(printf '\.%s\n' jp{,e}g avi mov 3gp mp4 tif pdf doc pps bmp png mp{,e}g wav nef thm key.gz ogg ppt gif m4a) - | xargs -0 git annex add +\"\"\"]] + +(`ggrep` necessary on OSX) + +"""]] -- cgit v1.2.3