MKFAD(1)                    General Commands Manual                   MKFAD(1)



NAME
       mkfad - make a FAD file

SYNOPSIS
       mkfad  [ -V | --version ] [ -v | --verbose | -d level | --debug=level ]
       [ -h | --help ] [ -p | --paths ] [ -n | --simulate  ]  [  -i  infile  |
       --infile=infile ] [ -o outfile | --outfile=outfile ] [ --no-crcs ]

DESCRIPTION
       Mkfad  reads a list of files from the standard input, such as is gener-
       ated by find(1), and generates a FAD file (See fad(5)) for those  files
       listed on standard output.

CONFIGURATION
       None.

OPTIONS
       -d level, --debug=level  Determines  how  verbose this program will be.
                                The message types displayed for the  different
                                values  of level are as follows: 0 displays no
                                messages; 1 displays only errors,  2  displays
                                errors  and warnings; 3 displays errors, warn-
                                ings and informational messages; higher values
                                display  errors,  warnings, informational mes-
                                sages and various messages intended for debug-
                                ging.  The default is 2.

       -h, --help               Displays a brief usage message.

       -p, --paths              Lists  the  compiled-in paths of various files
                                and directories that this program  uses.   -n,
                                --simulate  Some  external  commands that this
                                program runs may be displayed rather than  ac-
                                tually  executed.   BEWARE: different programs
                                implement different levels of  simulation;  so
                                this  option  may work perfectly; on the other
                                hand it may do nothing at all!

       -v, --verbose            Equivalent to -d 3.

       -V, --version            Prints the program's version number and exits.

       -i,--infile=infile       Reads the file list from infile.  The  default
                                is to read standard input.

       --no-crcs                Suppress  the  writing of CRCs; this will con-
                                siderably speed up the process  of  collecting
                                the  data about each filesystem item, but will
                                make it impossible to distinguish files  whose
                                contents have changed.

       -o,--outfile=outfile     Writes  the  database to outfile.  The default
                                is to write to standard output.

EXIT STATUS
       On success mkfad returns zero. On failure it returns non-zero and  dis-
       plays a diagnostic message.

FILES
       None.

ENVIRONMENT VARIABLES
       None.

EXAMPLES
       The  following  command generates a FAD database to standard output for
       the entire system:

              find / -print | mkfad

CAVEATS
       None.

STANDARDS
       This manual page documents version 7 of mkfad.

SEE ALSO
       perl(1), fad(5), find(1), faddiff(1), fadcat(1), compress(1),  gzip(1),
       fad-config(1)

AUTHOR
       Alexis Huxley <alexishuxley@gmail.com>

COPYRIGHT & DISTRIBUTION POLICY
       Copyright (C) 1995-2024 Alexis Huxley

       This program is free software; you can redistribute it and/or modify it
       under the terms of the GNU General Public License as published  by  the
       Free  Software Foundation; either version 2 of the License, or (at your
       option) any later version.

       This program is distributed in the hope that it  will  be  useful,  but
       WITHOUT  ANY  WARRANTY;  without  even  the  implied  warranty  of MER-
       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  General
       Public License for more details.

       You should have received a copy of the GNU General Public License along
       with this program; if not, write to the Free Software Foundation, Inc.,
       675 Mass Ave, Cambridge, MA 02139, USA.



                                  30 Jul 2024                         MKFAD(1)