home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / futils / futils~1 / man / manpages.zoo / rm.1 < prev    next >
Encoding:
Text File  |  1991-11-11  |  1.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4. RM(1L)                                                     RM(1L)
  5.  
  6.  
  7.  
  8. NAME
  9.      rm - remove files
  10.  
  11. SYNOPSIS
  12.      rm [-dfirvR] [+directory] [+force] [+interactive] [+recur-
  13.      sive] [+verbose] path...
  14.  
  15. DESCRIPTION
  16.      This manual page documents the GNU version of rm.  rm
  17.      removes each given file.  By default, it does not remove
  18.      directories.
  19.  
  20.      If a file is unwritable, the standard input is a tty, and
  21.      the -_✓f or +_✓f_✓o_✓r_✓c_✓e option is not given, rm prompts the user
  22.      for whether to remove the file.  If the response does not
  23.      begin with `y' or `Y', the file is skipped.
  24.  
  25.      GNU rm, like every program that uses the getopt function to
  26.      parse its arguments, lets you use the -- option to indicate
  27.      that all following arguments are non-options.  To remove a
  28.      file called `-f' in the current directory, you could type
  29.      either
  30.           rm -- -f
  31.      or
  32.           rm ./-f
  33.      The Unix rm program's use of a single `-' for this purpose
  34.      predates the development of the getopt standard syntax.
  35.  
  36.      OPTIONS
  37.  
  38.      -_✓d, +_✓d_✓i_✓r_✓e_✓c_✓t_✓o_✓r_✓y
  39.           Remove directories with `unlink' instead of `rmdir',
  40.           and don't require a directory to be empty before trying
  41.           to unlink it.  Only works for the super-user.
  42.  
  43.      -_✓f, +_✓f_✓o_✓r_✓c_✓e
  44.           Ignore nonexistent files and never prompt the user.
  45.  
  46.      -_✓i, +_✓i_✓n_✓t_✓e_✓r_✓a_✓c_✓t_✓i_✓v_✓e
  47.           Prompt whether to remove each file.  If the response
  48.           does not begin with `y' or `Y', the file is skipped.
  49.  
  50.      -_✓r, -_✓R, +_✓r_✓e_✓c_✓u_✓r_✓s_✓i_✓v_✓e
  51.           Remove the contents of directories recursively.
  52.  
  53.      -_✓v, +_✓v_✓e_✓r_✓b_✓o_✓s_✓e
  54.           Print the name of each file before removing it.
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Page 1
  64.  
  65.  
  66.  
  67.