> Unix Solaris would be best because that's where all the files are archived. > If I have to move them to a Windows PC to do it then Windows will do as well. >
Have you tried the Unix 'file' command? It may do what you want, but the Solaris one is much more basic than the equivalent on my Mac. E.g for Solaris I get: $ file MYDOC.XLS MYDOC.XLS: Microsoft Document On my Mac, with the same file, I get get: $ file MYDOC.XLS MYDOC.XLS: CDF V2 Document, Little Endian, Os: Windows, Version 6.1, Code page: 1252, Title: Quote Analysis Report, Author: Doe, John, Last Saved By: EMC, Name of Creating Application: Microsoft Excel, Last Printed: Mon Mar 12 20:42:41 2007, Create Time/Date: Fri Apr 8 15:44:10 2005, Last Saved Time/Date: Wed May 4 15:13:15 2011, Security: 0 Regards, Ashley. > Arvin > >> On Sep 1, 2011, Bob Paver <bob.pa...@gmail.com> wrote: > >> What operating system? Windows, some flavor of Unix, or other? > >> BP > > > On Sep 1, 2011, at 10:55 AM, "arvinport...@lycos.com" > <arvinport...@lycos.com> wrote: > >> I have several hundred files, most from the MS DOS days, without meaningful >> file extensions. Most are probably in some old version of MS Word but I >> don't know for sure. I'm trying to find a way to generate a list of the >> files and their formats. I have tried both File::Type and File::MMagic on a >> test directory of known, modern, files but the results weren't very good. >> >> Anyone have recommendations? I'd prefer it be in perl but it doesn't have to >> be. >> >> Arvin >> -- Ashley Sanders a.sand...@manchester.ac.uk Copac http://copac.ac.uk -- A Mimas service funded by JISC