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 (show unmerged sources)
Filename Size Changed
baselibs.conf 0000000005 5 Bytes
file-4.03-tex.dif 0000000682 682 Bytes
file-4.16-python.dif 0000000465 465 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-reiserfs.dif 0000000389 389 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-elf.dif 0000000590 590 Bytes
file-4.24-mips.dif 0000003880 3.79 KB
file-4.24-reg_dos.dif 0000000672 672 Bytes
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.02-misc.dif 0000005619 5.49 KB
file-5.02-option.dif 0000000873 873 Bytes
file-5.03-iso9660.dif 0000000405 405 Bytes
file-5.04-awk.dif 0000000382 382 Bytes
file-5.04-biorad.dif 0000000975 975 Bytes
file-5.04-exec.dif 0000007600 7.42 KB
file-5.04-llvm.dif 0000000339 339 Bytes
file-5.04-visibility.patch 0000000829 829 Bytes
file-5.04-zip2.0.dif 0000000496 496 Bytes
file-5.04.dif 0000013452 13.1 KB
file-5.04.tar.bz2 0000475598 464 KB
file-CVE-2012-1571.patch 0000041463 40.5 KB
file.changes 0000023362 22.8 KB
file.spec 0000005604 5.47 KB
pre_checkin.sh 0000000168 168 Bytes
python-magic.changes 0000000309 309 Bytes
python-magic.spec 0000001848 1.8 KB
Latest Revision
Stefan Lijewski's avatar Stefan Lijewski (lijews) accepted request 131214 from Stefan Lijewski's avatar Stefan Lijewski (lijews) (revision 2)
- Fix possible crash of CDF parser (bnc#753303, CVE-2012-1571) 

- Add patch for Bio-Rad image format to avoid conflicts with other
  magic records like RPM and even some ACII files (bnc#654696)

- libmagic: export only public interface symbols listed
  in magic.h, this also avoids exporting interesting stuff
  like strlcat, strlcpy... 

- use %_smp_mflags

- Add llvm bicode magic (bnc#597752)

- Update to file version 5.04
  * print proper mime for crystal reports file
  * print the last summary information of a cdf document, not the
    first so that nested documents print the right info
  * ctime/asctime can return NULL on some OS's although
    they should not (Toshit Antani)
  * Centralize magic path handling routines and remove the
    special-casing from file.c so that the python module for
    example comes up with the same magic path (Fixes ~/.magic
    handling) (from Gab)
  * When magic argument is a directory, read the files in
    strcmp-sorted order (fixes Debian bug #488562 and our own FIXME).
  * Combine overlapping epoc and psion magic files into one (epoc).
  * Add some more EPOC MIME types.
  * Fix 3 bugs (From Ian Darwin):
    - file_showstr could move one past the end of the array
    - parse_apple did not nul terminate the string in the overflow case
Comments 0
openSUSE Build Service is sponsored by