******************************************************************** ******************************************************************** ******************************************************************** Copyright www.luismiguelgoncalves.com ******************************************************************** ******************************************************************** ******************************************************************** MyZipOldFiles is a small tool that zips and deletes files in a folder which have not been changed for more than x number of days. ******************************************************************** ******************************************************************** ******************************************************************** This application may be distributed for any use, keeping the original copyright. This application is released as it-is, and the author takes no responsability for any damages or loss that may occur from the usage of this tool - use it at your own risk. ******************************************************************** ******************************************************************** ******************************************************************** Requirements: .NET Framework 2.0 Usage: myzipoldfiles.exe -s%sourcefolder% -d%destinationzipfile% -k%numberofdays% [-nolog] [-nozip] [-erasesourcefiles] -s%sourcefolder% > %sourcefolder% indicates the source folder path in which files will be analyzed (UNC paths are supported) -d%destinationzipfile% > %destinationzipfile% indicates the path and file name (eg: C:\myzipfile.zip) to where the source files will be ziped (UNC paths are supported) If you use myusedate.zip in the file name, a file named with the current date will be automatically generated in the path you specify (eg: C:\myusedate.zip or c:\yourdescription_myusedate.zip) -nolog > optional parameter indicates to not create a log file (by default a log file, named with current date, is created under the MyLog folder) -nozip > optional parameter indicates that source files are not to be ziped -eraseourcefiles > optional parameter to indicate that sources files are to be deleted, by default tool only zips the files and NOT delete the source files, this parameter must be used to delete the source files Installation: 1) Copy the following files to any folder you want: ICSharpCode.SharpZipLib.dll MyZipOldFiles.exe readme.txt 2) Create a sub folder in the place where you run the application named: MyLog ******************************************************************** ******************************************************************** ******************************************************************** Change Log: 15-06-2009 - First product release with v1.0.0.3 15-06-2009 - File created.