Re: querying a MIME database



On 10 Apr 2006 00:28:40 -0700, NUPUL
<nupul.kukreja@xxxxxxxxx> wrote:
most linux distros have a command update-mime-database, but is there
any way to query this database to determine the application to be used
for a particular type of file?

grep filetype /etc/mailcap
To get the filetype for a particular file, you can use "file -i".


--
Take care of the luxuries and the necessities will take care of themselves.
-- Lazarus Long
.



Relevant Pages

  • "Cannot update, databse or object may be read only"
    ... I was wondering if anyone could help i have picked this database up ... On click of a button it open a recordset which is a query loops until ... Dim rstProspects As Recordset ... txtSEPARATED = "Don't Care" ...
    (comp.databases.ms-access)
  • Re: Using databases in JSP file
    ... you're executing a statement as if it were a ... query. ... The database doesn't care, it works regardless. ...
    (comp.lang.java.help)
  • Re: Database Selection
    ... If both tables are identical and you don't care from which table it ... finds the match from then you could create a 'union' query and use it ... it is not found in the first database, ...
    (comp.databases.ms-access)
  • Re: Database Selection
    ... If both tables are identical and you don't care from which table it ... finds the match from then you could create a 'union' query and use it ... it is not found in the first database, ...
    (comp.databases.ms-access)
  • Re: LDAP query question
    ... First off, user isn't an objectcategory, it is an objectclass. ... You will want something like ) to specify users. ... Benefit Admin)(!department=Managed Care Consulting)) ...
    (microsoft.public.windows.server.active_directory)