EnglishFrenchSpanish

OnWorks favicon

xfmtype - Online in the Cloud

Run xfmtype in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command xfmtype that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


xfmtype - xfm file type tester

SYNOPSIS


xfmtype -m magic_file [-f] filename ...

DESCRIPTION


The xfmtype program reads a magic configuration file and tests each file in its command
line to tell its type according to the configuration file.

The format of the configuration file is the similar to magic(5) with the differences
described in 0

OPTIONS


-f file
Consider the following argument as a file, even if it begins with `-'.

-m file
Specifies a configuration file. You can specify more than one configuration file with
several -m flags. They are read in the order in which they are found. Configuration
files do not have effect until they are encountered in the command line. So, files to
test in the command line before that switch will not be affected by it.

BUILT IN TYPES


If no rule matches a specified field or the type cannot be determined because of other
reasons, one of the following built in types is returned:

inode/x-unreadable The file could not be read.

inode/x-empty File size is zero.

text/plain The file looks like ACSII.
xfm will look into xfm_mime.type(5) for more guessing.

application/octet-stream Other regular file.
xfm will look into xfm_mime.type(5) for more guessing.

inode/directory A directory.

inode/chardevice A character device.

inode/blockdevice A block device.

inode/pipe A names pipe (fifo).

inode/socket A socket.

inode/default None of the above.

Use xfmtype online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

Ad