summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar clacke <clacke@web>2015-04-22 13:16:01 +0000
committerGravatar admin <admin@branchable.com>2015-04-22 13:16:01 +0000
commita52c1ec742a294e286e90f35299835d9adeb8035 (patch)
treeed836d7572a376ab596aceff3cfd6346e169abe8
parentea6d9ac51a05ba9ce8c88a2cead0fe25bc6030e6 (diff)
Added a comment
-rw-r--r--doc/forum/Adding_files_with_wildcard_on_Mac_Yosemite/comment_8_a2b10366426158bcb6c91df6c2e843b7._comment14
1 files changed, 14 insertions, 0 deletions
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)
+
+"""]]