package-logfiles
Create a zip archive of log files in /opt/logs.
Syntax
package-logfiles [name <file>.tar.gz] [newer-than <days>]
Arguments
name—Specify the path and name of the saved file. Generally, the files should be saved to /opt. If the system’s hard drive has been formatted with partitions, /mnt may be used instead.
newer-than— Specify a time limit, in days, on the crash files to be compressed and saved. This option counts backwards, starting with the current day. Thus the option newer-than 5 would compress and save crash files for the past 5 days only.
Mode
Superuser