Created
August 7, 2014 12:45
-
-
Save niraj-shah/a776aa1e896617672bb9 to your computer and use it in GitHub Desktop.
Find PHP and .DS_Store files in current directory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find PHP files in current directory | |
find . -name *.php -exec echo {} \; | |
# Find annoying .DS_Store files in current directory (Mac issue) | |
find . -name .DS_Store -exec echo {} \; | |
# Find log files in current directory (ending in.log) | |
find . -name *.log -exec echo {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment