Annotation of coherent/a/usr/man/COHERENT/cpdir, revision 1.1.1.1

1.1       root        1: 
                      2: 
                      3: cpdir                        Command                        cpdir
                      4: 
                      5: 
                      6: 
                      7: 
                      8: Copy directory hierarchy
                      9: 
                     10: ccppddiirr [_o_p_t_i_o_n ... ] _d_i_r_1 _d_i_r_2
                     11: 
                     12: cpdir copies source  directory hierarchy dir1 to target hierarchy
                     13: dir2, which is created if necessary.  Either hierarchy may strad-
                     14: dle device boundaries.
                     15: 
                     16: cpdir  preserves as  much as  possible  of the  source structure.
                     17: Files under dir1 go to identically named files under dir2.  Links
                     18: between source files are preserved as links between corresponding
                     19: target  files.  Preserved  source file  attributes  include mode,
                     20: subject to the user's file creation mask.  If the user is not the
                     21: superuser,  cpdir cannot  preserve the  owner, group,  and sticky
                     22: bits in the mode, and the invoking user owns all new files; under
                     23: the superuser  it preserves these as well.   In addition, the su-
                     24: peruser may  ``copy'' special nodes and  pipe nodes; cpdir copies
                     25: only  the facility,  not the  contents.   It also  preserves real
                     26: major and minor device numbers of special nodes.
                     27: 
                     28: If the  target file corresponding to a source  file exists and is
                     29: not a  directory, cpdir unlinks it  before copying.  This differs
                     30: from the action of cp.
                     31: 
                     32: cpdir recognizes the following options:
                     33: 
                     34: -aa   Give a verbose account on one line of the files copied.
                     35: 
                     36: -dd   Preserve the last-modified date instead of using the present
                     37:      date.
                     38: 
                     39: -ee   Print  error message and continue  execution after an error.
                     40:      The default action is to exit on any error.
                     41: 
                     42: -rr [_n]
                     43:      Descend no more than n levels in the source hierarchy.  Con-
                     44:      tents of dir1 are at level 1.  If missing, n defaults to 1.
                     45: 
                     46: -ss _n_a_m_e
                     47:      Suppress the copy of file name, which should be the pathname
                     48:      of the file relative to dir1.
                     49: 
                     50: -tt   Test only, make  no changes.  With this option, cpdir prints
                     51:      a report of all  errors (-e is implied), all unlinked target
                     52:      files, and other  useful information, including a summary of
                     53:      all external links into the target hierarchy that would have
                     54:      been broken had the unlinking actions been executed.
                     55: 
                     56: -uu    Update  regular files.   Copy  the source  only  if it  was
                     57:      created or altered more recently than the target file, or if
                     58:      the target does not exist.
                     59: 
                     60: -vv    Print a  verbose account  of its  activities.  cp  prints a
                     61:      file-by-file account of  its actions, in addition to the in-
                     62: 
                     63: 
                     64: COHERENT Lexicon                                           Page 1
                     65: 
                     66: 
                     67: 
                     68: 
                     69: cpdir                        Command                        cpdir
                     70: 
                     71: 
                     72: 
                     73:      formation listed under -t.
                     74: 
                     75: ***** See Also *****
                     76: 
                     77: cp, commands, link(), umask(), unlink()
                     78: 
                     79: 
                     80: 
                     81: 
                     82: 
                     83: 
                     84: 
                     85: 
                     86: 
                     87: 
                     88: 
                     89: 
                     90: 
                     91: 
                     92: 
                     93: 
                     94: 
                     95: 
                     96: 
                     97: 
                     98: 
                     99: 
                    100: 
                    101: 
                    102: 
                    103: 
                    104: 
                    105: 
                    106: 
                    107: 
                    108: 
                    109: 
                    110: 
                    111: 
                    112: 
                    113: 
                    114: 
                    115: 
                    116: 
                    117: 
                    118: 
                    119: 
                    120: 
                    121: 
                    122: 
                    123: 
                    124: 
                    125: 
                    126: 
                    127: 
                    128: 
                    129: 
                    130: COHERENT Lexicon                                           Page 2
                    131: 
                    132: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.