From 661900458425fb4074494e76958e7f43fdc238fd Mon Sep 17 00:00:00 2001 From: clacke Date: Wed, 22 Apr 2015 13:31:10 +0000 Subject: [PATCH] Added a comment: workaround --- ...omment_7_dbe40fef2ba65cc0f1c20f41f2daab4d._comment | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/forum/Adding_files_with_wildcard_on_Mac_Yosemite/comment_7_dbe40fef2ba65cc0f1c20f41f2daab4d._comment diff --git a/doc/forum/Adding_files_with_wildcard_on_Mac_Yosemite/comment_7_dbe40fef2ba65cc0f1c20f41f2daab4d._comment b/doc/forum/Adding_files_with_wildcard_on_Mac_Yosemite/comment_7_dbe40fef2ba65cc0f1c20f41f2daab4d._comment new file mode 100644 index 0000000000..47b00a5f06 --- /dev/null +++ b/doc/forum/Adding_files_with_wildcard_on_Mac_Yosemite/comment_7_dbe40fef2ba65cc0f1c20f41f2daab4d._comment @@ -0,0 +1,11 @@ +[[!comment format=mdwn + username="clacke" + subject="workaround" + date="2015-04-22T13:31:10Z" + content=""" +This is a workaround to the missing functionality, generating an `--include` expression: + +[[!format sh \"\"\" +git annex add $(printf -- '--include=*.%s --or ' jp{,e}g avi mov 3gp mp4 tif pdf doc pps bmp png mp{,e}g wav nef thm key.gz ogg ppt gif) --include='*.m4a' +\"\"\"]] +"""]]