
  *--------------------------------------------------------------*
  | NetClean 2.00                           NetWare Dust Cleaner |
  *--------------------------------------------------------------*

   NetClean v2.00

   (c) 1994/1995 Dupuis Laurent
   (c) 1995      Dupuis Logiciels


 Thank for reading this document
---------------------------------------------------------------------------

	Thank you for trying NetClean. I hope that my product
    will be over that you can hope from classic cleaner.

	NetClean 2.00 is a reliable and solid product.
    NetClean 1.x has been registred by corporation that need
    security like bank, airport, and large corporations. The
    cleaner kernel has been tested on a special network server
    with more 1000 users and abyssal directories (many
    commercial products hang up where NetClean works !!).

	NetClean is really faster than classic cleaner because
    it doesn't need MS-DOS or Windows for cleaning.

	NetClean can sort file not only by file mask and
    creation date, but also with advanced NetWare file
    information :

	* Owner of the file (Account that have created the file)
	* Group that owner of file belong to.
	* Last Use date. Each time a file is opened Netware update
	  a "Last Opened" date that allow to detect unused files.

	This manual will explain to you, the network
    administrator, how to use NetClean. The only limit of
    NetClean is your imagination. There is no commercial
    cleaner product as flexible as NetClean.

	Finally, I want to apologize for english mistakes. I
    live in the "douce France" and english is not my native
    language. You can send me correction and suggestion to my
    E-Mail over the Net.

						Laurent Dupuis
				    100041,2441@compuserve.com

 Part 1 - Usage
---------------------------------------------------------------------------

	NetClean may be lauch from the MS-DOS's command line.
    If you use Windows 3.1, Windows 95 or OS/2 (2.x or warp),
    you must run NetClean in a full-screen window. NetClean
    use advanced screen feature and need VGA display. NetClean
    doesn't work on CGA, Hercule, EGA and some VGA monochrome
    cards. Only old computer, made before 1989, may not work.

	The command syntax is :

	NTCLN2 <File Mask> [Option [Option [...]]]

	Where :
...........................................................................
  <File Mask>  The "File Mask" is used be NetClean for sort files.
  -----------  NetClean use the UNIX style (compatible with MS-DOS style).

       Samples:

	    *     Target all files and is MS-DOS equivalent
		  of *.*. In UNIX format, the point is a part of
		  the name.

		   || Warning : NetClean allow you to run "NTCLN2 *".
		   || NetClean, then, will delete all files in
		   || attached volumes !

	    *.BAK Target all files with the BAK extention.

	    *BAK  Target all files that end with BAK like
	    A.BAK or HHBAK.

	    B*Y   Target all files with first letter is a B
	    and last letter is a Y such
		  BIRDY, BARBY or BCDEF.WXY

	    The ? caracter replace any other caracters :

	    LETTER?.DOC Match for LETTER1.DOC or LETTERY.DOC
	    but don't     match for LETTER12.DOC

	    If you want to know more about file mask, look
	    inside your favorite MS-DOS manual or book.

...........................................................................
  Option     Option are used to enable or disable extended NetClean
  ------     functions or allow extending sort to Netware specific
	     information.

					    Optional functions
					    ------------------

       -d       Do a fake run. NetClean will scan only and
		display result. No file	will be erased.

       -a       Awnser before erase.
		  For each file found, NetClean 2 awnser you
		  if you want to delete this file. You can't
		  use the -a option and the -d option. If you
		  choose to do a Fake run, the -a option is
		  automaticly removed.

     -l<File name> Create a file witch contain the list of
		   all deleted or find files.

       +v       Verboose mode. Display all found file and
		more information.

       +y       Automatic run. Use this option for batch run.
		   This option can be used in registered
		   version only. There is no way to remove
		   "reminder screens" in unregistred version.

					 Advanced file filters
					 ---------------------

	    This sub-section detail advanced file filters
	  option. This option allow you to have a better
	  control on file cleaning by using Netware's file
	  system information.

    +s<Size>           Exclude file with size bellow <Size> Kilo-Bytes.
    -s<Server Name>    Do not scan <Server Name> netware file server.
    +t<Days>           Only erase file that have not be used last <Days>
		   If this option is used on the unregistred
		   version of NetClean, only a fake run will
		   be done.

					       Owner selection
					       ---------------

	    NetClean allow you to select target user. This may
	  be really usefull for periodic cleaning. See in
	  Cooking purposes section bellow.

	    These options allow the use of "wildcards" like
	  file name. For example, on a server where there is
	  four users :
	    SUPERVISOR, SUPERMAN, BETA and TETA

	    -o*            is equivalent to -oSUPERVISOR
				       -oSUPERMAN
				       -oBETA
				       -oTETA
	    -oSUP*         is equivalent to -oSUPERVISOR
				       -oSUPERMAN
	    -o*TA          is equivalent to -oBETA
				       -oTETA

    -o<User Name> Do not erase file created by <User Name>.
    +o<User Name> Target <User Name>'s files only to be
		  clean. If the user has been forbidden by a -o option,
		  the user is re-enable.
		   The +o option may be use in two ways :
		   *   Whithout an -o option, NetClean will only erase files
		     owned by +o specified users.
		   *   With a -o option, the +o option will re-enable a user. In
		     the sample, a NTCLN2 *.DOC -oSUP* +oSUPERMAN will delete all
		     files exept SUPERVISOR's one.

   -g<Group Name> Don't erase file created by members of group <Group Name>.
		  Like -o and +o, you can use "wildcards" for group names.
   +g<Group Name> Target files created by members of group <Group Name>.
		  See +o option for more information.

 Part 2 - Cooking purposes
---------------------------------------------------------------------------

	     In this part, you will find some concrete usage
       samples. These samples solve most "dust" problems in
       many corporations.

...........................................................................
					     "Friday Cleaning"
...........................................................................

	     Purpose :   Cleaning your network before weekly back up.

	     Solution :  Create a batch file to use before each back up.

		  The best way is to create a batch file and
	      use a scheduler to wake up it. A such program is
	      inclued in the registration disk (for OS/2).

		  Use your favorite editor and create a file
	      named "FRIDAY.BAT" and write :

		    Note : Assume here to be in the NetClean
		    Subdirectory with a classic CD command.
		    See in you MS-DOS manual for more detail

		    NTCLN2 *.BAK +y
		    NTCLN2 *.OLD +y
		    NTCLN2 *.TMP +y
		    NTCLN2 ~* +y


		  You can add other dust files to this batch
	      file.

...........................................................................
					  "Dust or not dust ?"
...........................................................................

	     Purpose : Compiler generate files named with the
		       OBJ extention. These files are used
		       before create an EXE file (an application).
		       The puzzle is that not all OBJ files
		       are dust ! Some are blunded with the
		       compiler and should not be deleted.

	    Solution : There many solution, but one are the best way :

		  Create a fake account named (for example)
	      "NOKILL". With SYSCON remove all rights, disable
	      account and does not include in one group.

		  With the FILER utility, select permanent OBJ
	      files and change owner to NOKILL. An user can be
	      a owner of a file where he has no right and no
	      access.

		  When all permanent OBJ files are maked, run
	      a NetClean fake run to verify that you don't
	      have forget one :

		  NTCLN2 *.OBJ -oNOKILL +d +lC:\TEST.LST

		  Use your favorite editor to check the file
	      C:\TEST.LST.

		  If all is checked and you are sure, you can
	      use each night or each friday the command :
		  NTCLN2 *.OBJ -oNOKILL +y


...........................................................................
						"Dead letters"
...........................................................................

	     Purpose : A secretaryship tape many letters each
		       day and they want to ecrase letters 60-days
		       old. The secretaries use some special
		       letters as model and then we can trust the
		       creation date. In addition, the
		       technical office use the same network
		       server and use the same word processor.
		       They don't want that old letters be
		       deleted.
	    Solution : This may be a complex problem that
		       classic cleaner can't solve.

		  If this did not do, create a group called
	      (for example) SECRETARY where member are all
	      secretaries' accounts.

		  Then, you can run or add in a batch file :

		  NTCLN2 *.DOC +t60 +gSECRETARY +y

	      Notice : You need the registred version of
	      NetClean to run this command.

...........................................................................
					  "Commando Attack ! "
...........................................................................

	     Purpose : Some user take more fun to use a
		       network game at work and you must stop them.
	    Solution : Here you need be a strategist and
		       evaluate the level of bad user to punish.

		  If you have novice user or not really
	      experienced user, you can use the simple way.
	      Find EXE name or the data file extention and
	      clean it. For remove DOOM2 just run :

		  NTCLN2 *.WAD
		  NTCLN2 DOOM2.EXE

		  Other cleaner can't run under Netware hidden
	      directories, NetClean does !

		  "Power Users" may rename sensible files,
	      then change your attack angle : found saved
	      games ! For example :

		  NTCLN2 *.GAM +lC:\BADF.LST

		  After, consult the list file to know the
	      location of saved games. Where there are saved
	      games, game files are not really far !

		 Notice :
		 *    Remember to purge all volumes with the PURGE /A command !
		 Netware deletes deleted files when it need space. "Power
		 users" may recover game files by using the SALVAGE command.
		 *   I work on a specific product that will be called
		 "NetPolice", E-Mail me for detail
		 (100041.2441@compuserve.com).

...........................................................................
					 "NetSurfers Punisher"
...........................................................................

	     Purpose : Your are working on a university or a
		       college where studen use and abuse
		       of your Internet access. After many
		       discussion, you have decided to clean all
		       files above 5O kilobytes. The
		       "educative team" members may be not "cleaned".
	    Solution : This a "punisher" method but is really very
		       used on many education networks.

	     Just have a look to the usage section and wrote :

	     NTCLN2 * +s50 -gEDUC

	     Assume that all "educative team" members are in
       the group "EDUC". (you can choose an another name than
       EDUC)

	     Historic notice : The really first draft of
       NetClean was a Netware port of one of my professor's
       toy (Alain Rauch (rauch@iut-a.univ-lille1.fr))  that
       clean all files above 50kb each 2 minutes on a Sun
       Workstation networks.

...........................................................................
					   "Workstations dust"
...........................................................................

	     Purpose : How to clean dust on network workstation ?
	    Solution : This solution need Windows 95

 If you have not installed yet add "File and printer shared
for Netware networks". Consult Windows 95 manual for more
detail.

 On each workstation, enable file sharing on all local drive
(full access is needed). On the administrator workstation,
connect with all these shared drives.

 NetClean will detect the Windows 95 support and clean
workstations drives.

 Warning :
 Windows 95 doesn't support all NetClean file filters. You may
 just do a simple cleaning like :
 NTCLN2 *.BAK

 A windows based version of NetClean is in preparation. This
version will support MS-Windows based network and more.

 Part 3 - Registration
---------------------------------------------------------------------------

	     NetClean cost $35 (USD) and you have many way to
       register it.

	     Compuserve Online Registration :
	     Go to "SWREG" (With WinCIM tape Ctrl-G)
	     Select "Register Shareware"
	     Shareware ID : #3414 (Register as version 1.0)

	     NorthStar Solution : No technical support
	     By Master Card, Visa credit cards and checks.
	     Voice :
		  1-800-699-6395 (US Only) Told Free Number
		  1-803-699-6395 (International)
		  Opened from 10:00am to 10:00pm (EST)
		  7/7 days per week
	     Fax :1-803-699-6395 24/24 hours 7/7 days

	     Directly me : European Union ONLY
	       France :     150 FF
	       Belgique :   900 FB
	       Deutchland : DM 50
	       Other :  Convert with base of 30 ECU
	       (Checks outside european union will be send
	       back, sorry)

	       Send check via mail to :
	       DUPUIS Laurent
	       116, avenue du 8 mai 1945
	       62400 Bethune
	       FRANCE


