This command will print the *.cpp filenames in the given directory:
find . -name "*.cpp" -print
How can I print both *.cpp and *.h filenames?
findunix
This command will print the *.cpp filenames in the given directory:
find . -name "*.cpp" -print
How can I print both *.cpp and *.h filenames?
Best Answer
Try this:
An example with more alternatives: