summaryrefslogtreecommitdiff
path: root/doc/forum/Adding_files_with_wildcard_on_Mac_Yosemite/comment_7_dbe40fef2ba65cc0f1c20f41f2daab4d._comment
blob: 47b00a5f063988b6affb9f9fed21ba59a6f75754 (plain)
1
2
3
4
5
6
7
8
9
10
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'
\"\"\"]]
"""]]