Trying to find unique extensions or formats in a deep folder structure
I have a deep folder structure on my RHEL 5.x file system which is supposed to have only word(*.doc, *.docx) or pdf(*.pdf) files. But I want to check if there are files with any other extensions which exist. Is that possible?
Thanks in advance |
Code:
find /path/to/folder -not \( -iname \*.doc -o -iname \*.docx -o -iname \*.pdf \) |
In addition to colucix solution you will find more information on the find-command with
Code:
man find |
All times are GMT -5. The time now is 04:44 AM. |