August 26, 2010
Find all files extension with a given path in unix
Today I wanted to find all the types of files that people are using in their "resources" part of their project. Here's the script that allowed to to ssh to our CI server to find it.
find . -path "*/src/main/resources/*" | awk -F . '{print $NF}' | grep -v "/" | sort -u
Posted by jim at August 26, 2010 08:46 AM
Due to the proliferation of comment spam, I’ve had to close comments on this entry. If you would like to leave comment, please use one of my recent entries. Thank you and sorry for any inconvience caused.