![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| File Archive Script | KeesH | Shell Programming and Scripting | 10 | 06-09-2008 08:11 AM |
| making a archive script | jimmyc | Shell Programming and Scripting | 1 | 09-15-2007 01:02 AM |
| Archive Script-Urgent | indira | HP-UX | 1 | 05-16-2007 10:31 AM |
| Archive script old files | kayarsenal | Shell Programming and Scripting | 1 | 08-24-2006 10:46 PM |
| script to archive all the log files | tintedwindow | Shell Programming and Scripting | 0 | 06-13-2006 07:51 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Script to archive file
Hi All,
I am trying to archive a file. I have the script to archive a file which is given below: #! /usr/bin/sh INITFILE="US_Recon" INITDIR="/var/opt/l2/CSN1/ap21" TMPDIR="/var/opt/sap2bn/out/CSN1/ap21/tmp" ARCHDIR="/var/opt/l2/CSN1/ap21" FINALDIR="/var/opt/sap2bn/out/CSN1/ap21" ARCHPER="31" TIMESTAMP="_MMDDCCYY.xml" /var/opt/l2/bin/archiveNx ${INITFILE} ${INITDIR} ${TMPDIR} ${ARCHDIR} ${FINALDIR} ${ARCHPER} ${TIMESTAMP} In this do I use the whole script to archive a file or just the last command i.e. archiveNx to archive the file? If I use only the archiveNx command then should it come before the file name or after the file name. Thanks a lot. Regards, Indira |
|||
| Google The UNIX and Linux Forums |
| Forum Sponsor | ||
|
|