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-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-visibility.patch 0000000517 517 Bytes
file-5.12-zip.dif 0000000899 899 Bytes
file-5.12-zip2.0.dif 0000000548 548 Bytes
file-5.13-return.patch 0000000253 253 Bytes
file-5.13.dif 0000017719 17.3 KB
file-5.13.tar.gz 0000640757 626 KB
file-rpmlintrc 0000000206 206 Bytes
file.changes 0000030777 30.1 KB
file.spec 0000006521 6.37 KB
pre_checkin.sh 0000000168 168 Bytes
python-magic.changes 0000000794 794 Bytes
python-magic.spec 0000001740 1.7 KB
Revision 69 (latest revision is 136)
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 156456 from Dr. Werner Fink's avatar Dr. Werner Fink (WernerFink) (revision 69)
- Add patch file-5.13-return.patch: avoid doubled return

- Update to file version 5.13 (mainly bug fixes)
  * add elf reading of debug info to determine if file is stripped
  * use pread()
  * change mime description size from 64 to 80 to accommodate OOXML.
  * 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.
Comments 1

openSUSE Build Service is sponsored by