Results 1 to 2 of 2
  1. #1

    Member Since
    Feb 03, 2008
    find command won't list keynote files
    I entered the find command in Terminal to look for all the keynote presentations that started with the number 2011:
    find . -iname "2011*.key" -type f

    but I got no results. The files are in there -- I can see them in the finder window. Can anyone tell me why it won't do this? If I just enter the command without '-type f' then it lists the files. Are keynote presentations not files or something?

    I'm in the correct directory as well

  2. #2

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Early 2015 13" rMBP
    Probably because you're specifying the type. As I recall, iWork documents are actually bundles. In other words, they're glorified folders. Since they're technically folders and you're specifying the type "regular file", it's possible it's skipping over them. Try using type d. Actually, you can probably get away with excluding type altogether.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. find command in terminal -- listing files twice
    By Straitsfan in forum macOS - Apps and Games
    Replies: 3
    Last Post: 01-10-2010, 09:46 PM
  2. Find files using a list
    By chanchito318 in forum macOS - Apps and Games
    Replies: 0
    Last Post: 06-09-2008, 02:22 PM
  3. What to use for a FIND command?
    By bdmsb in forum macOS - Operating System
    Replies: 23
    Last Post: 03-24-2008, 03:42 PM
  4. Command for fetch the list of software installed
    By srijai in forum macOS - Development and Darwin
    Replies: 5
    Last Post: 06-02-2007, 08:32 PM

Posting Permissions

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