05-13-2011, 09:47 AM #1
find command won't list keynote files
- Member Since
- Feb 03, 2008
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
05-13-2011, 09:59 AM #2
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.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By Straitsfan in forum OS X - Apps and GamesReplies: 3Last Post: 01-10-2010, 10:46 PM
By chanchito318 in forum OS X - Apps and GamesReplies: 0Last Post: 06-09-2008, 03:22 PM
By bdmsb in forum OS X - Operating SystemReplies: 23Last Post: 03-24-2008, 04:42 PM
By srijai in forum OS X - Development and DarwinReplies: 5Last Post: 06-02-2007, 09:32 PM