generate a list of file extensions?

davido_at_codethought.nospamforme.com
Date: 02/10/04


Date: Tue, 10 Feb 2004 14:43:49 -0800

I need to scan a directory tree and generate a list of file extensions
from that tree for a search against a database. That way I can be
sure the database is properly updated based on all of the extensions
in this directory. The directory amounts to projects code and binary
files. I know how to use File::Find to search a list of file types
and get their *names*. Would searching and getting the file types be
basically the same thing?

Could someone point me at some code that could help me accomplish
this? Much appreciated.



Relevant Pages

  • Re: generate a list of file extensions?
    ... > I need to scan a directory tree and generate a list of file extensions ... > from that tree for a search against a database. ... perldoc File::Basename ...
    (comp.lang.perl.misc)
  • sa login not having full functionality
    ... the software developers migrated us from an Access database into a SQL Server ... He will right-click on the database name, click on Tasks, Click on Backup ... Why cannot he see his directory tree of his own computer? ... I had him click on View Connection Properties and we discovered that the sa ...
    (microsoft.public.sqlserver.security)
  • Re: Convert Works database for use with Windows XP
    ... > locate any program that will allow me to convert this database to one ... The Works file extensions are program specific, not operating system ... continue to use Works on the new system for managing the Works created ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Is Finders Find any good?
    ... GNU find uses no such database. ... The find program searches a directory tree to find a file or group of ... Send responses to the relevant news group rather than email to me. ... Use a real news client if you want me to see your posts. ...
    (comp.sys.mac.system)
  • Re: Access to zipped Microsoft Access database
    ... I have no problems with connecting to ms access database, ... I want to connect with a mdb file which is zipped. ... different file extensions can make that task little harder. ... For example on any unix based system using the file command will tell you what type a file is regardless of file extension. ...
    (comp.lang.java.databases)