Re: LOCATING MEDIA FILES IN MACINTOSH
Re: LOCATING MEDIA FILES IN MACINTOSH
- Subject: Re: LOCATING MEDIA FILES IN MACINTOSH
- From: "Gary L. Wade" <email@hidden>
- Date: Thu, 06 Jan 2011 13:53:09 -0800
- Thread-topic: LOCATING MEDIA FILES IN MACINTOSH
If you want Cocoa, check out enumeration in NSFileManager; if you want
C/C++, check out iteration in Files.h.
On 01/06/2011 12:54 PM, "Abhinav Tyagi" <email@hidden> wrote:
>Hi All,
>
>Although this querry may seem simple to you but since i dont have any idea
>about it,
>i am clueless as how to approach.
>
>Problem: Scanning the disc for media files. As the media files can be
>present anywhere
>in the disc, searching whole disc by enumerating the directory listings
>will
>be very tedious
>i guess (like combining ls and grep in the terminal).
>
>1) I need an efficient approach to solve this problem using Cocoa or C++.
>(very Important)
>2) How will check a file if its a valid media file or data file. Like we
>can
>have ".dat" files that
> are video files but data files can also have ".dat" extension. not
>much
>significant. Is there
> api that can tell whether a file is media file or not? (not soooo
>important).
>
>Thanks in advance for your help.
>
>
>
>Abhinav Kumar Tyagi
>www.verizon.com
>_______________________________________________
>
>Cocoa-dev mailing list (email@hidden)
>
>Please do not post admin requests or moderator comments to the list.
>Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
>Help/Unsubscribe/Update your Subscription:
>s.com
>
>This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden