Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2008
    Posts
    9

    Unanswered: Finding only pdf files , not going to subdirectories

    Hello gurus,

    I want want find pdf files only in this , /u01/a/b/c/directories/images_dir/
    there are sub directories in images_dir, but i do not want to go search them, i used find but it gets all the pdf's from subdirectories, prune and maxdepth not working any suggestions.

    Thank you

  2. #2
    Join Date
    Jun 2007
    Location
    London
    Posts
    2,527
    ls /u01/a/b/c/directories/images_dir/*.pdf

    Should show you the pdf files in a given directory

    Mike

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •