[Linux] Find files with name/type
Sample shows how to find files with name and extension name in Linux system.
# with name
find $directory -type f -name "*somename.*"
# with extension / type
find $directory -type f -name "*.pdf"
Sample shows how to find files with name and extension name in Linux system.
# with name
find $directory -type f -name "*somename.*"
# with extension / type
find $directory -type f -name "*.pdf"
Comments