Linux: find all files in folder with extension

ls -R | grep gif$

The above command will list of the gif files you have in your folder (it will look recussively in subfolders). If you wanted to see the paths as well you could use the find command:

find ./ -name *gif$*

Post a Comment

Your email is never published nor shared. Required fields are marked *