Re: Need help for comparing file types from test and prodcution database
From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: 02/27/05
- Next message: Barry Margolin: "Re: Piping within for-loops"
- Previous message: Hitarth: "Need help for comparing file types from test and prodcution database"
- In reply to: Hitarth: "Need help for comparing file types from test and prodcution database"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 27 Feb 2005 15:11:04 +0100
In comp.unix.shell Hitarth <hitarthd@gmail.com>:
> Hi,
> I need to write a shell script having same filenames on test and
> production database but I need to differentiate them with the timestamp
> as when these files are created or developed on both the servers and
> which are they??..The requirement is :
> 1)Shell script will accept three parameters
> 2)First parameter will be source dir
> 3)Second parameter will be a txt file - that has a list of files
> 4)Third parameter will be destination dir
> 5)Shell script will validate all parameters and then copy all
> 6)files in txt file from source to destination
[..]
> Please come up with the solution so that I can submit my script
Can I submit my bank account data, so you can submit your salary,
after writing the script for you? ;-)
Honestly, I'd just use 'rsync'/'unison' through ssh for the job.
Good luck
-- Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94) mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/' #bofh excuse 293: You must've hit the wrong any key.
- Next message: Barry Margolin: "Re: Piping within for-loops"
- Previous message: Hitarth: "Need help for comparing file types from test and prodcution database"
- In reply to: Hitarth: "Need help for comparing file types from test and prodcution database"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|