See also entry in DESCRIPTION file
Usage: remove_if_proe_created [options] files
This script checks the files to see if they are Pro/ENGINEER files
and if so moves them to your dumpster directory.
options: -h => this help screen
-i => inform only (multiple argument).
-s => run silently.
The -i option can be used to *only* CHECK if an existing file is a
Pro/ENGINEER file. The file will not be removed. If this option is used
the script exits with 0 if one of the files is a Pro/E file.
If you give the -i option twice (-ii) the script will give a report
for every file.
NOTE: If this scripts complains about not knowing a second extension
and you want those files to be deleted add the extension in the
case list in this script and E-Mail this to me so I can update
the script for future releases.
Author: Olaf Corten, the Netherlands
E-Mail: olafc@molding.fico.nl or ocorten@knoware.nl
################################################################################
# History:
# 980824 Added win extension.
# 980506 Files which should not have a 3rd extension may now have .Z or .gz
# extensions. Added .als files.
# 961031 Fixed bug for illegal numerical third extensions (badly formed number)
# Added username to error messages.
# 961005 Fixed bug for pdm_trl.txt files not being deleted. Added .xch files.
# 960919 Added .hp2 files.
# 960729 Added .pnt and .pcf files, txt files can now also be Pro/PDM files.
# 960612 Added .rep.* files (reports).
# 960425 Added .err.* files.
# 960422 Fixed bug "breaksw - endsw not found" when options are given.
# 960329 Added SKIP for known extensions to skip (like .rgb files).
# 960226 Added .xpr (instance accelerator files)
# 951214 Moved pts files to files_with_3rd_numerical_extension category
# 951122 Added Pattern Table files (ptb)
# 951010 Added Product Info files (prd)
# 950925 Added Bend Tables (bnd)
# 950702 Added lst extension.
# 950623 first version
#
################################################################################
|