Olaf Corten's OCUS help page for Pro_Clean

Help and/or history for Pro_Clean

See also entry in DESCRIPTION file

Usage: Pro_Clean [options] [dir]
 
	Pro_Clean runs Pro_Purge on all (sub-)directories from your HOME
	directory or from [dir]. It also cleans old plot files and other
	Pro/E related temporary files.

	options:	-h   =>	this help screen
			-i   =>	inform only
			-s   =>	run silently
			-ss  =>	run really silently
			-c x =>	with x as a numerical value (1-9) for the
				number of copies to retain (default = 1)
	
	You can make Pro_Clean skip certain directories by adding a file
	with the name .skip_pro_purge to the directory you wish to skip.
	This will only affect the normal purge files. Clean up files like
	*.log, etc. will still be removed.

Author: Olaf Corten, the Netherlands
E-Mail: olafc@molding.fico.nl or ocorten@knoware.nl

################################################################################
# History:
#
# 980506 Removed *.dat from list. Changed *.log to [a-z]*.log.
# 980424 Fixed Unmatched ".
# 980306 Added check for PDM directory.
# 980203 Changed clean list:
#	 Added * to .ger .crc and .m_p.
#	 Added *.ers* iges_stats.dat *.bde *.bdi *.bdm *.als *.pls s2d0*.sec
# 971217 Changed removal in PLOTFILES directory to rm instead of
#	 remove_if_proe_created. Also changed *.ps to *.ps* etc.
# 970515 Fixed removal of all files starting with "core".
# 970411 Fixed passing on -s option to Pro_Purge.
# 970102 Fixed bug: Removed -p and -R from LS_COMMAND.
# 961127 Added *.ptd files to removal list.
# 961122 LS_COMMAND decide added (fix for non-SGI users)
# 961118 Changed /bin/split to /usr/bin/split (fix for non-SGI users)
# 961111 Added .skip_pro_purge check, Added removal of *.tst and *.lst files.
# 961104 Now splitting to files of 100 lines each.
# 960918 Removal of *.ps and *.hp2 files only from dir PLOTFILES.
# 951215 Changed split to /bin/split
# 951211 Changed /sbin to /bin (fix for SUN users)
# 950905 Added removal of *.crc and temp_*.ps files.
# 950215 Changed script so it runs Pro_Purge for each directory.
#	 Added commandline options. Added break_label.
# 950105 Added removal of *.ps files created by Pro/ENGINEER older than 1 days
#	 Uses the script remove_if_proe_created.
#	 Removed -atime +4 from find commands
#	 Added MAX_DAY parameter
# 920712 Olaf Corten: Added another foreach loop. purge.out will now
#	 be split into files of 300 lines in tmp2dir. These files
#	 will be scanned in the first foreach loop.
#	 It is likely when skipping from one scanfile to the next 
#	 then an older version of a drawing or part remains on the 
#	 directory.
# 911105 Made by Olaf Corten: Mechanics R&D
#
################################################################################