Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The one issue with this approach is that it would still traverse all hidden folders, which could be expensive (e.g. in a git repo with an enormous revision history in `.git/`). `-not -path ...` just prevents entities from being printed, not being traversed. To actually prevent traversal, you need to use `-prune`.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: