find a file type within a directory

We had to find all the .pdf files in the archive we had created for DSpace, to do this we used the following command:

find . -name *.pdf -print
ref: http://www.onlamp.com/pub/a/bsd/2002/02/21/FreeBSD_Basics.html
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s