Unix Zip Command
Ever wonder how to zip the log files or configurations files from several folder to one single zip files? The command below will provide the solution: -
How To Run Zip Command In Unix
UNIX> zip -r ./`uname -n`_`date +%m%d%y.%H%M`_files.zip \/db/gebs/appl/system_oratop/oratop/iAS/Apache/Apache/conf/* \/db/gebs/appl/system_oratop/oratop/iAS/Apache/Jserv/etc/*
This command was also useful when performing system backup where more than one folder needs to be zipped.
Leave a Comment


Recent Comments