Guava

The Guava Tools

websrccopy


Home  Computer Software  Guava Main Page  Guava Manual Pages 


NAME

       websrccopy  -  Makes  a copy of a directory structure con-
       taining source code for a web site.   Symbolic  links  are
       used where possible.


SYNOPSIS

       websrccopy [option] source-dir


DESCRIPTION

       websrccopy is a Perl program that makes a copy of a direc-
       tory structure.  Some files are actually copied, and  oth-
       ers are made to appear as if they have been copied by mak-
       ing symbolic links to the source files.


OPTIONS

       -v     Be verbose.

       -vv    Be very verbose.

       -d dest-dir
              Create the image of the source  tree  in  dest-dir.
              The  default is create it in the current directory.

       -C copy-file
              Add copy-file to the list of files  to  be  copied.
              This option may be use multiple times.

              You may use the wildcard characters "*" and "?"  in
              the name of the copy-file although you will need to
              take precautions to prevent these being expanded by
              your shell.

       -L link-file
              Add link-file to the list of files to be symlinked.
              This option may be used multiple times.

              You may use the wildcard characters "*" and "?"  in
              the name of the link-file although you will need to
              take precautions to prevent these being expanded by
              your shell.

       -X ignore-dir
              Do not recurse into directories  named  ignore-dir.
              This option may be used multiple times.

              You may use the wildcard characters "*" and "?"  in
              the name of the ignore-dir although you  will  need
              to take precautions to prevent these being expanded
              by your shell.

       -n     Traverse the source directory structure, but  don't
              actaully copy or link anything.  Use this option in
              conjunction with -v to see  what  websrccopy  would
              have done.


OPERATION

       websrccopy  copies  or  links  files  from  the  specified
       source-dir directory to the destination (either  the  cur-
       rent  directory,  or  the directory specified using the -d
       option).

       websrccopy differs from a simple recursive copy by copying
       only  the  files  specified  on the command line by the -C
       option.

       Files or directories specified by the -L  option  will  be
       symbolically linked so that they appear in the destination
       directory.


BUGS

       None known.


AUTHOR

       Steve Morphet <email-address-hidden>
       http:/www.morphet.org.uk/


LICENCE

       websrccopy and the Guava tools are Copyright (C) 1999-2001
       Steve Morphet <email-address-hidden>

       This  program  is  free  software; you can redistribute it
       and/or modify it under the terms of the GNU General Public
       License  as  published  by  the  Free Software Foundation;
       either version 2 of the License, or (at your  option)  any
       later version.

       This  program  is  distributed in the hope that it will be
       useful, but WITHOUT ANY WARRANTY; without even the implied
       warranty  of  MERCHANTABILITY  or FITNESS FOR A PARTICULAR
       PURPOSE.  See the GNU  General  Public  License  for  more
       details.


SEE ALSO

       webbuilder(1) hss2html(1) htt2html(1)



Email: