On Jul 25, 2007, at 6:41 PM, Allan Odgaard wrote:

On 26. Jul 2007, at 01:10, Gerd Knops wrote:

Ahh, learn something new every day, thanks! The above does not ignore those pesky ._*.h files though (resource-fork on NFS file systems), this would:

find -E "$TM_PROJECT_DIRECTORY" -regex '.*/(_darcs|CVS|\..*)' - prune -or -name '*.h' \! -name '._*' -print

._* should be a subset of the .*/…\..* match and result in “prune”.

Correct you are.

Joachim, could the command be changed accordingly? Allans version of the find:

find -E "$TM_PROJECT_DIRECTORY" -regex '.*/(_darcs|CVS|\..*)' -prune -or -name '*.h' -print

seems to work great.

Thanks

Gerd


_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/mailman/listinfo/textmate-dev

Reply via email to