EDSzip.cfg

Package: WA2L/WinTools 1.2.08
Section: Configuration Files (4)
Updated: 19 February 2019
Index Return to Main Contents

 

NAME

EDSzip.cfg - configuration file for edszip

 

SYNOPSIS

WA2LWinTools/etc/EDSzip.cfg

 

AVAILABILITY

WA2L/WinTools

 

DESCRIPTION

This is the optional configuration file for the edszip command.

 

FILEFORMAT

Rows starting with a rem are considered as comments.

The file format is SET OPTION=VALUE

Between the OPTION , the = and the VALUE are no spaces.

You can comment out any OPTION or completely remove the related setting line to use the default settings.

 

OPTIONS

COMPANY
Company long description to add to the confidentially comment in the *.zip file

Example: SET COMPANY=ACME Corporation Limited

Default: SET COMPANY=-

PERSONALINFO
When set to False the lines:
 ***  User ..... : <USERNAME>
 ***  Host ..... : <COMPUTERNAME>

in the confidentially comment are not added.

Example: SET PERSONALINFO=False

Default: SET PERSONALINFO=True

EXCLUDES
A list of files and directories to be excluded from the *.zip file. Commonly this are temporary files, lock files etc.

Example: SET EXCLUDES="*/_old/*" "*/_old.zip" "*/Backup/*" "*/_alt/*" "*/_alt.zip" "*/* - Copy*" "*/.*.swp" "*/*.tmp" "*/*~"

Default: SET EXCLUDES="*/_old/*" "*/_old.zip" "*/_alt/*" "*/_alt.zip" "*/* - Copy*" "*/.*.swp" "*/*.tmp" "*/*~"

SUFFIX
Suffix of the *.zip file.

Example: SET SUFFIX=%Now%.ACME.zip

Default: SET SUFFIX=%Now%.zip

 

EXAMPLES

1) Set options dynamically
If you want to set some options dynamically based on some environment settings it can be done in the edszip.cfg file for example as follows:

if %USERDOMAIN%==ACMECORP (
        SET COMPANY=ACME Corporation Limited
        SET SUFFIX=%Now%.ACME-CO.zip
)
if %USERDOMAIN%==ACMEHW (
        SET COMPANY=ACME Corporation Hardware Branch
        SET SUFFIX=%Now%.ACME-HW.zip
)

In this example the COMPANY and SUFFIX settings are defined based on the domain (%USERDOMAIN%) the command is executed in.

 

SEE ALSO

wintoolsintro(1), edszip(1)

 

NOTES

-

 

BUGS

-

 

AUTHOR

edszip.cfg was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2020 Christian Walther

This is free software; see WA2LWinTools/man/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
FILEFORMAT
OPTIONS
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 16:32:04 GMT, September 14, 2024