home *** CD-ROM | disk | FTP | other *** search
- The mkshadow programs makes a "shadow tree" of a directory tree.
- It logically copies all of the "MASTER" directory into ".".
- However, ordinary files, and RCS directories are "copied"
- by creating a sybolic link to the corresponding file in MASTER.
-
- The wildmat.c file is from GNU tar-1.09.
- The savedir.c file is from GNU find.
- Hence, the GNU license applies.
-
- * Usage: mkshadow [-X exclude_file] [-x exclude_pattern] ... MASTER
- * Makes the current directory be a "shadow copy" of MASTER.
- * Sort of like a recursive copy of MASTER to .
- * However, symbolic links are used instead of actually
- * copying (non-directory) files.
- * Also, directories named RCS are shared (with a symbolic link).
- * Warning messages are printed for files (and directories) in .
- * that don't match a corresponding file in MASTER (though
- * symbolic links are silently removed).
- * Also, a warning message is printed for non-directory files
- * under . that are not symbolic links.
- *
- * Files and directories can be excluded from the sharing
- * with the -X and -x flags. The flag `-x pattern' (or `-xpattern')
- * means that mkshadow should ignore any file whose name matches
- * the pattern. The pattern is a "globbing" pattern, i.e. the
- * characters *?[^-] are interpreted as by the shell.
- * If the pattern contains a '/' is is matched against the complete
- * current path (relative to '.'); otherwise, it is matched
- * against the last component of the path.
- * A `-X filename' flag means to read a set of exclusion patterns
- * from the named file, one pattern to a line.
- *
- * Author: Per Bothner. bothner@cs.wisc.edu. November 1990.
-