Application Delivery Management
Application Modernization & Connectivity
CyberRes by OpenText
IT Operations Management
If you want to store automatically some logfiles on a netware server (e.g. via cron) in chronological order (e.g. you have some log utilities which have no roll-over support), this tool is very useful.
The tool moves (or copies) a file within a NetWare server and prepends the current time and date to the filename. If the resulting filename is too long (max 255 chars) the original filename is truncated.
Usage:
datemove.nlm -Ssourcefile -Ddestinationdir [-C]
The paths must be fully qualified. No blanks after the switches!
Example:
datemove.nlm -Ssys:etc\console.log -Dsys:logfiles
Move the console.log file to the sys:logfiles directory and rename it to (assume local time on server is 23 October 2003 16.33.12) '16 33_23-10-2003_console.log'.
If you want to copy and rename the file use the -c switch.