Hi,
I am trying to find all files ending in a particular file extension, ie all files ending with .pdf
find / -name *.pdf
But this doesnt seem to work, ie it doesnt find the files, is there a better way of doing this? I am using solaris 9
Hi,
I am trying to find all files ending in a particular file extension, ie all files ending with .pdf
find / -name *.pdf
But this doesnt seem to work, ie it doesnt find the files, is there a better way of doing this? I am using solaris 9
Try it this way....
find / -name "*.pdf"
you might want to throw in the -type f
this way you will only find files not directories and what not.
find / -name -type f "*.pdf"
Thanks all - both of these were of great use, I found the files I was looking for..
# find / -print | grep -i pdf
greetings Pre�y