Hi Wolfgang, on linux: - copy /usr/share/magic to ~/.magic - add to ~/.magic the lines: # ROOT file 0 string root ROOT data file - set in your .bash_profile: export MAGIC=~/.magic and "file" will identify a ROOT file as such. Cheers, Fons. On Wed, 2002-06-05 at 11:07, Wolfgang Waltenberger wrote: > Hi roottalk, > > this is simply a suggestion, but: > you should patch the Unix 'file' command to recognise root and hbook > files, should you not? Just an idea .... > Now that I examine a root file, do they always start with 'root' as the > first four letters? > > Ciao, Wolfgang -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7679480
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:55 MET