aww news
Description
Download
WML

SourceForge.net Logo




NAME

Aww::Options::duplicate - an Aww-Options-Module!

The duplicate module copies all files in the source directory directly to the output directory (e.g. useful for image directories).

You can define an Regular Expression in a '.duplicaterc' file, which files should be copied (see below).


SYNOPSIS

Input : Directory to duplicate into Output_base_directory +Relative_directory
Output: The duplicated directory (of course)
Return: The destination directory

.duplicaterc

You can define an Regular Expression in a '.duplicaterc' file, which files should be copied. The file should look like this (example to copy only Images):

##################################################################

# Regular Expression to define the Filetypes, that will be copied: copytype='\.jpg$|\.gif$|\.png$'

##################################################################

The module searches for the 'copytype' option in the file and uses it for the the getfullfilenames function.


REQUIREMENTS

File::Copy module is needed


AUTHOR

Michael Panhorst <aww[at]panhorst.com>


SEE ALSO

the Aww::Options manpage, the Aww::Main manpage and the Aww::lib manpage

42nd.design || webmaster