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 0000000005 5 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-4.24-warn.dif 0000000156 156 Bytes
file-5.02-javacheck.dif 0000000394 394 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-llvm.dif 0000000428 428 Bytes
file-5.07-misc.dif 0000003658 3.57 KB
file-5.07-option.dif 0000000868 868 Bytes
file-5.07-zip.dif 0000000856 856 Bytes
file-5.07-zip2.0.dif 0000000526 526 Bytes
file-5.10-visibility.patch 0000000856 856 Bytes
file-5.10.dif 0000017831 17.4 KB
file-5.10.tar.gz 0000608726 594 KB
file-ocloexec.patch 0000001814 1.77 KB
file.changes 0000026469 25.8 KB
file.spec 0000005156 5.04 KB
pre_checkin.sh 0000000168 168 Bytes
python-magic.changes 0000000661 661 Bytes
python-magic.spec 0000001722 1.68 KB
Revision 55 (latest revision is 139)
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 100249 from Dr. Werner Fink's avatar Dr. Werner Fink (WernerFink) (revision 55)
- Update to file version 5.10 
  * Add magic for /usr/bin/env Perl scripts
  * Weaken generic script magic to avoid clashing with
    language-specific magic.
  * Remove hardwired token finding (names.h), turning it into soft
    magic. Patterns are either anchored regexs or search/8192. English
    language detection and PL/1 detection have been removed as they
    were too fragile. -e tokens is still accepted for backwards
    compatibility.
  * Move 3ds patterns (which are commented out anyway) into autodesk
    (they were, oddly, in c-lang).
  * Tweak strength of generic hash-bang detectors to be less than
    specific ones.
  * Make an inconsistent description of Python scripts consistent.
  * Python3 binding fixes from Kelly Anderson
  * If a string type magic entry is marked as text or binary
    only match text files against text entries and binary
    files against binary entries.
  * If the application name is not set in a cdf file, try to see
    if it has a directory with the application name on it.
  * Fix ELF lseek(2) madness. Inspired by PR/134 by Jan Kaluza
  * Don't use variable string formats.
Comments 1

openSUSE Build Service is sponsored by