I am using “find” within a shell operation and I don’t want the dot files to return.
for example…
this works corerctly for “.DS_Store” files only…
find /target/folder -type f -not -path ‘*DS_Store’
but how do I exclude all dot files?
I am using “find” within a shell operation and I don’t want the dot files to return.
for example…
this works corerctly for “.DS_Store” files only…
find /target/folder -type f -not -path ‘*DS_Store’
but how do I exclude all dot files?
I think the option -not -name “.*” or ! -name “.*” should work
Thank you. This is what I wound up using…
do shell script "find " & quoted form of theFolder & " -type f -not -name \".*\""