DEV Community

Dave Kellam for Plank

Posted on

Find all PDFs in a folder

A quick way to find all PDFs in a folder and dump the list into a text file on the desktop:

find . -type f -iname "*.pdf" > ~/Desktop/pdf-list.txt
Enter fullscreen mode Exit fullscreen mode

This should work to find any files of a specific type.

Top comments (0)