HPUX ff[1m]






 ff(1M)                        Series 800 Only                        ff(1M)





 NAME
      ff - list file names and statistics for a file system

 SYNOPSIS
      /etc/ff [options] special

 DESCRIPTION
      ff reads the i-list and directories of the special file special,
      assuming it to be a file system, saving i-node data for files that
      match the selection criteria.  Output consists of the path name for
      each saved i-node, plus any other file information requested using the
      print options below.  Output fields are positional.  The output is
      produced in i-node order; fields are separated by tabs.  The default
      line produced by ff includes the path name and i-number fields.  With
      all options specified, the output fields include path name, i-number,
      size, and UID.

      The num parameter in the options descriptions is a decimal number,
      where +num means more than num, -num means less than num, and num
      means exactly num.  A day is defined as a 24-hour period.

      ff lists only a single path name out of many possible ones for an i-
      node with more than one link, unless you specify the -l option.  With
      -l, ff applies no selection criteria to the names listed.  All
      possible names for every linked file on the file system are included
      in the output.  On very large file systems, memory may run out before
      ff does.

    Options
      ff recognizes the following options and command-line arguments:

           -a num         Selects if the i-node has been accessed in num
                          days.

           -c num         Selects if the i-node has been changed in num
                          days.

           -i inode       Generates names for only those i-nodes specified
                          in the i-node list.

           -I             Does not display the i-node number after each path
                          name.

           -l             Generates a list of all path names for files with
                          more than one link.

           -m num         Selects if the file associated with the i-node has
                          been modified in num days.

           -n file        Selects if the file associated with the i-node has
                          been modified more recently than the specified



 Hewlett-Packard Company            - 1 -     HP-UX Release 9.0: August 1992






 ff(1M)                        Series 800 Only                        ff(1M)





                          file.

           -p prefix      Adds the specified prefix to each path name.  The
                          default prefix is . (dot).

           -s             Writes the file size, in bytes, after each path
                          name.

           -u             Writes the owner's login name after each path
                          name.

 EXAMPLES
      List the path names and i-numbers of all files in the file system
      /dev/hd1:

           ff /dev/hd1

      Same, but suppress printing of i-numbers:

           ff -I /dev/hd1

      List files on the same file system that have been modified recently,
      displaying the path name, i-number, nad owner's user name (-u option).
      List only files that have been modified within the last two days (-m
      -2 option):

            ff -m -2 -u /dev/hd1

      List all files on the same file system, including the path name and
      i-number of each file, that was last accessed more than 30 days ago
      (-a +30):

           ff -a +30 /dev/hd1

      Find all path names associated with i-nodes 451 and 76 (-l option):

           ff  -l  -i  451,76  /dev/hd1

















 Hewlett-Packard Company            - 2 -     HP-UX Release 9.0: August 1992