The following command works as expected within vim:
:args `find . -type f`
as well as this one (with wildcard):
:args `find . -name \*.inc`
However when I run the following:
:args `find . -type f -not -path "*/\.*"`
I've the error:
E79: Cannot expand wildcards
"`find . -type f -not -path" [New File]
It works from the command line as expected:
$ find . -type f -not -path "*/\.*"
Basically the extra
-not -path "*/\.*" means to ignore all the hidden files starting with dot, such as git repository files.
What I'm doing wrong? Do some characters needs to be escaped (which one)?