Last active
March 26, 2021 13:46
-
-
Save jehanf/ae603126c518008c38095b4066d15103 to your computer and use it in GitHub Desktop.
Linux : List all images in a folder and print the list in a file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name '*' -exec file {} \; | grep --line-buffered -o -P '^.+: \w+ image' > images.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment