HA

HA



Home
Information
Products
Support
Store
How To Order

www.HEPArts.com


Up to FileSystem Utilities

cloneDir
This program is used to duplicate directories of files. It preserves timestamps, and it reproduces ownership and permissions if the caller has such privileges.

We have put a great deal of effort into the specification of Filtering Options.
Search by name patterns.
Search by date: earlier than, later than.
Search by size: greater than, less than.
Search by owner, group.
Combine all of these to bundle up just those files you want.

There are several convenience specifications, like "noback", which exclude various known backup file patterns. The "nobins" directive is used in conjuction with Developers' arrangement of executables and other generated files in "binary" directories, subdivided according to platform specification. This directive will archive the structure, including the CVS subdirectories, but it will omit the platform specific subdirectories.

Syntax

This is a command-line utility.
Usage: cloneDir [options] filename [more-files....]

Relative Base Directory:
  --trunkDirname | -T  <dirname>  base directory to which
                                  all files are relative
                       (the default is to use the current directory)

Output Options:
  --directory  | -d  <dirname>  top directory for copied files
  --output     | -o <pathname>  output filename for verbage
  --error-file | -e <pathname>  output filename for errors
  --stdout     | -c      -> put output data on <stdout> (for piping)

Information Options:
  --help    | -h -> output this help message
  --quiet   | -q -> do not show progress during processing
                    or warn about overwriting files
  --verbose | -v -> show each file processed (unarchiving only)
  --version | -V -> version of the program and licensing.

Pattern Filtering Options (multiple occurrences allowed):
  --exclude-dir  | -X <dirname-pattern>  omit directories with this pattern
  --exclude-file | -x <filename-pattern> omit files       with this pattern

  --only-files | -f <filename-pattern>  only take files with this pattern
  --file-types | -t <file-extension>    only take files with this extension

  --prune    | -Y <dirname-pattern>  prune directories with this pattern
                  (keeps the dir itself, but not its subdirectories)
  --add-back | -y <pathname>  explicitly add a path which is below
                              a pruned directory

File-Specifics Filtering Options:
  --owner | -O <[!]owner>  filter on ownership (positive or negative)
  --group | -G <[!]group>  filter on group     (positive or negative)
                           (can use multiple times)

  --smaller-than <size>  filter on file size (can use kB, MB, GB)
  --bigger-than  <size>  (examples: 678, 10kB, 5MB, 1GB)

  --older-than <dd-mmm-yyyy:hh:mm>  filter on modification date
  --newer-than <dd-mmm-yyyy:hh:mm>  (can omit time components)
                                    (example: 03-Sep-2005:15:33)

  --type <[!]dfls> filter on type of FileSystem object (positive or negative)
                   d = directory, f = file, l = link, s = dev or socket
  --perm <[!]rwxs> filter on Permissions (positive or negative)
                   r = read, w = write, x = executable, s = SUID/SGID

Convenience Filtering Options:
  --noback | -~  -> omit backup files
  --nodev  | -S  -> omit device files
  --nobins | -B  -> omit platform subdirectories of binary directories
  --mybins | -m  -> only this platform's subdirectories of binary directories
You can put all of these options into configuration files and use different ones for different common tasks. Lines beginning with `#' are taken as comments. If you request a configuration file at the beginning of the options, you can override elements or add some on the commandline. You specify a configuration file with the option:
  --config-file | -C <pathname>  pathname to requested file

Purchase

Price: $ 50

Download Packages

After you have purchased your License, you may go to the Download Page to copy the program package down to your computer. You must run the program package to extract the program and to activate it, using your License Number and Activation Code.

Proceed to the Download Page.


webmaster@HEPArts.com

Copyright © 2005 HEPArts, Inc. All Rights Reserved.