A Tool to Determine File Types

Edit Package file

With the file command, you can obtain information on the file type of a
specified file. File type recognition is controlled by the file
/etc/magic, which contains the classification criteria. This command is
used by apsfilter to permit automatic printing of different file types.

Refresh
Refresh
Source Files
Filename Size Changed
baselibs.conf 0000000010 10 Bytes
file-4.03-tex.dif 0000000682 682 Bytes
file-4.18-printf.dif 0000000867 867 Bytes
file-4.20-ssd.dif 0000000689 689 Bytes
file-4.20-xen.dif 0000000422 422 Bytes
file-4.21-scribus.dif 0000000359 359 Bytes
file-4.21-xcursor.dif 0000000352 352 Bytes
file-4.24-autoconf.dif 0000001023 1023 Bytes
file-4.24-cromfs.dif 0000000536 536 Bytes
file-4.24-mips.dif 0000003880 3.79 KB
file-4.24-solv.dif 0000000261 261 Bytes
file-5.07-biorad.dif 0000000377 377 Bytes
file-5.07-clicfs.dif 0000000301 301 Bytes
file-5.07-elf.dif 0000000616 616 Bytes
file-5.07-iso9660.dif 0000000411 411 Bytes
file-5.07-option.dif 0000000868 868 Bytes
file-5.12-endian.patch 0000003250 3.17 KB
file-5.12-javacheck.dif 0000000347 347 Bytes
file-5.12-llong.dif 0000000232 232 Bytes
file-5.12-misc.dif 0000003836 3.75 KB
file-5.12-nitpick.dif 0000002010 1.96 KB
file-5.12-ocloexec.patch 0000001940 1.89 KB
file-5.12-upstream.patch 0000124028 121 KB
file-5.12-visibility.patch 0000000517 517 Bytes
file-5.12-zip.dif 0000000899 899 Bytes
file-5.12-zip2.0.dif 0000000548 548 Bytes
file-5.12.dif 0000017721 17.3 KB
file-5.12.tar.gz 0000632808 618 KB
file-rpmlintrc 0000000206 206 Bytes
file.changes 0000029412 28.7 KB
file.spec 0000006390 6.24 KB
pre_checkin.sh 0000000168 168 Bytes
python-magic.changes 0000000794 794 Bytes
python-magic.spec 0000001740 1.7 KB
Revision 67 (latest revision is 138)
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 149700 from Dr. Werner Fink's avatar Dr. Werner Fink (WernerFink) (revision 67)
- Make if build on ppc64, that is re-add the configure check for
  sizeof long long otherwise readelf will fail on ppc64

- Update to file version 5.12
  * Warn about inconsistent continuation levels.
  * Change fsmagic to add a space after it prints.
  * Make getline public so that file can link against it.
    Perhaps it is better to rename it, or hide it differently.
    Fixes builds on platforms that do not provide it.
  * Add SuS d{,1,2,4,8}, u{,1,2,4,8} and document
    what long, int, short, etc is (Guy Harris)
  * add magic_version function and constant
  * Redo memory allocation and de-allocation.
    (prevents double frees on non mmap platforms)
  * Fix bug with name/use having to do with passing
    found state from the parent to the child and back.
  * Only print elf capabilities for archs we know (Jan Kaluza)
  * Add "name" and "use" file types in order to look
    inside mach-o files.
  * add string/T (Jan Kaluza)
  * search for $HOME/.magic.mgc if it is there first
  * fix reads from a pipe, and preserve errno
  * use ctime_r, asctime_r
  * Fixes for indirect offsets to handle apple disk formats
- Also includes our extfs-minix patch
Comments 1

openSUSE Build Service is sponsored by