I have a folder with sub-folders inside, all have many types of files. I want to search for a word inside the .css-files. I am using Windows 7 and I have grep.
How I can use grep to :
- Find pattern and print it
- Give file name (and path) if pattern found
Actually you don’t need
find. Just use:this will recurse and look for all *.css in subdirectories, while -H will show the filename.