Script using patch command

Script using patch command

Post by ralph.. » Tue, 13 Jun 2000 04:00:00

Does anyone have a script using the patch command?

Thanks in advance,

Sent via
Before you buy.


1. Backup script sco 506 / using find command


Who can help me?

I'm trying to make one backup script to install on different servers.
the directories to backup are sometimes different on each server.
sometimes it is /appl/smcbasic/DATA/files
or sometimes it is /usr/lib/basic/DATA/files
or sometimes /usr/lib/basic8/DATA/files
How can i make a script searching where the basic/DATA is ,
and make a backup with cpio of it.
Sometimes both directories excist.
the old one is for example /appl/smcbasic
and the new directory is /usr/lib/basic.
I want to make a backup of the new directory only.
manual renaming the old directories is no option,
because i have install the new script on about 150 SCO servers

The second question is:
how can i make a script renaming the old directories if excisting,
and a script for rolling out the new backup script, by distributing on
cd-rom or floppy?

If you are a real guru making this kind of script please contact me in a

2. How to get stack dump?

3. Help on Changing user and executing commands using shell script

4. install gcc 2.95.2

5. Using cu (~%take & ~%put) commands in a shelll script

6. UUCP<->Bitnet gateway

7. ksh: How to log *all* commands (not using "script") ?

8. Converting VMS backup format to UNIX tar format

9. Problem using "exit" command in script on RH7.1 system

10. Using the script command

11. Creating script to add new users w/o using USERADD command

12. how to rewrite this simple script using select command?

13. Using a script to wrap a command