Annulleret

shell script guru needed for quick task

This is relisted, due to someone not delivering.

Write a shell script (ksh shell) that does the following.

Needs done by end of this week.

Stage 1.

* Loads a [url removed, login to view] file with some global settings

example:

CreateNamedPort yes

CreateVirtualHost no

* Loads a [url removed, login to view] file

# put yes, if you wish to create all objects for this project

ProjectName1 no

ProjectName2 yes

* Depending on yes or no to previous properties, the script them "finds" various other properties files that exist in a directory structure as such

Example of files found

./ProjectName1/namedport/[url removed, login to view]

./ProjectName2/namedport/[url removed, login to view]

./ProjectName2/virtualhost/[url removed, login to view]

./ProjectName2/virtualhost/[url removed, login to view]

The script would ignore all files found in ProjectName1 as [url removed, login to view] has it set to "no"

Note: there are two virtualhost properties files. this means..the script needs to create two virtual hosts (see next stage)

* Now depending on how many properties files exist ...called "virtual host"..the script then calls another script (which you do NOT write)

so, it runs this command

ant createvritualhost -propertyfile "virtualhost.properties"

and then...

ant createvritualhost -propertyfile "virtualhost2.properties"

etc...

and

ant createnamedport -propertyfile "namedport.properties"

So, it "replace the namedport" from the name of the [url removed, login to view] file, into the name of the script to call "createnamedport"

In summary:

An intelligent script, that goes and find properties files in directories, and from the name of the property file, calls an ANT task. It will only find the files to used, based on some high level properties files, such as [url removed, login to view] and projects.property.

Færdigheder: Linux, Script Installering, System Administrator

Se mere: virtual guru, to guru, the guru, in guru, ignore someone, guru projects, find guru, file guru, create shell script, as guru, a guru, example shell script, write task, shell script, loads, intelligent, example summary, depending, ant structure, runs, find replace directory, call shell script, pending script, write script file, due week

Om arbejdsgiveren:
( 0 bedømmelser ) new york, United States

Projekt-ID: #25422

2 freelancere byder i gennemsnit $100 for dette job

wsf

Please see PMB for details

$100 USD på 1 dag
(0 bedømmelser)
0.0
pgpleroux

As per specs

$100 USD på 1 dag
(0 bedømmelser)
0.0