Re: Identify extension of a file without extension
Re: Identify extension of a file without extension
- Subject: Re: Identify extension of a file without extension
- From: Maxthon Chan <email@hidden>
- Date: Sun, 29 Sep 2013 13:17:15 +0800
It will not work for iOS app. However you can include your own copy of file(1) utility in your code. It is open sourced so you can make it part of your code.
On Sep 29, 2013, at 5:34, Devarshi Kulshreshtha <email@hidden> wrote:
> Thanks, will check for sure.. one more query.. will it be applicable in an
> ios app? Mine is an iOS app.
>
>
> On Sat, Sep 28, 2013 at 4:29 PM, Charles Srstka <email@hidden>wrote:
>
>> On Sep 28, 2013, at 4:17 PM, Devarshi Kulshreshtha <
>> email@hidden> wrote:
>>
>>> 1. Is there any other way to identify file extension for the files
>> without
>>> extensions, say from NSData object?
>>
>> Have a look at the files in /usr/share/file/magic/ to get some ideas of
>> how to identify various types of files.
>>
>> Charles
>>
>> _______________________________________________
>>
>> 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
>
>
>
>
> --
> Thanks,
>
> Devarshi
> _______________________________________________
>
> 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
_______________________________________________
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