diff options
author | clacke <clacke@web> | 2015-04-22 13:22:25 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2015-04-22 13:22:25 +0000 |
commit | a1615b3bb89a7d7b1c5cd05984d076ff2f792bcc (patch) | |
tree | 39a532653b4bbf6c9c6c6185216fed61eb421e91 | |
parent | a52c1ec742a294e286e90f35299835d9adeb8035 (diff) |
Added a comment: Nicer expression
-rw-r--r-- | doc/forum/Adding_files_with_wildcard_on_Mac_Yosemite/comment_9_81243b0c7f24e5d93cfa4335f73cd83f._comment | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/forum/Adding_files_with_wildcard_on_Mac_Yosemite/comment_9_81243b0c7f24e5d93cfa4335f73cd83f._comment b/doc/forum/Adding_files_with_wildcard_on_Mac_Yosemite/comment_9_81243b0c7f24e5d93cfa4335f73cd83f._comment new file mode 100644 index 000000000..41095c82a --- /dev/null +++ b/doc/forum/Adding_files_with_wildcard_on_Mac_Yosemite/comment_9_81243b0c7f24e5d93cfa4335f73cd83f._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="clacke" + subject="Nicer expression" + date="2015-04-22T13:22:25Z" + content=""" +This is a bit more readable, even avoids the commas and casing of the original line I was using: + +find . -name .git -prune -o -print0 | ggrep -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) + +(removed comment with faulty overbroad regex) +"""]] |