Posted By

noah on 02/10/09


Tagged

path search filter directory find macports prune


Versions (?)


Advertising

Website Promotion DIRECTORY is a crucial factor for all websites that need to gain better organic search engine rankings and increase website traffic.
Submitting your website as part of your Web Promotion strategy to our SEO friendly and high traffic Business Directory for review is an excellent way to gain a valuable backlink and increase your websites visibility online.

Submit Site


Who likes this?

1 person has marked this snippet as a favorite

Dorgendubal


Filtering the Find command


Published in: Bash 






How to filter files and directories with the find command.

The command below finds files that end in "sass," but not the file named "constants.sass," and not the directory "landing_page," nor any of its contents.

Expand | Embed | Plain Text
  1. find . ! -name "*constants.sass" ! -path "*landing_page*" -name "*sass"

Report this snippet 

You need to login to post a comment.