Grep / Bash Expert

Here's the need.

I need a bash script that allows me to enter the following information:


1. Directory Path To Search:

2. File Extensions To Limit Search (comma separated): [php,js,ini,css]

3. String to Find:

4. String to Replace With:

5. Recursive y/n [y]

Being Replace with the following parameters: (echo above answers for confirmation)


* Each of the above 1,2,3,4 are required entries

* Default answers will be listed in [ ] as indicated above.


Each answer syntax must be tested

Search cannot begin until these tests are met

---> 1. directory path must be tested to exist

---> 2. no spaces or special characters except comma should exist. test to see if separated by a comma

---> 3. strings with special characters must be escaped ie; mystring.test-result will fail if not escaped properly

---> 4. same as 3


* Do not waste time re-cursing .svn directories as we cannot change anything in there anyway.

* Each successful replacement must be echo'd to the screen followed by return \n.

That is the job.

Please only bid if you have expertise in this area.



Skills: Linux, Shell Script

See more: bash expert, return path, linux find recursive, bash directory script, answers expert, shell bash, bash script directory, bash file, bash 0, recursive, linux bash script, JAY, ie extensions, find php expert, bash script, find replace directory, string find, find replace linux, linux bash shell, search replace script, recursive php, script parameters linux, php script echo, linux shell script string replace, change default search

About the Employer:
( 57 reviews ) Anacortes, United States

Project ID: #1142797

Awarded to:


I am very interested to complete this project and i am an expert in bash scripting, please check your PM Box

$45 USD in 0 days
(132 Reviews)

7 freelancers are bidding on average $56 for this job


Let's start!

$80 USD in 1 day
(28 Reviews)

Please check PM

$50 USD in 0 days
(49 Reviews)

Please check Your PMB

$75 USD in 1 day
(17 Reviews)

Hi, I can develop the script for you. Kind Regards...

$50 USD in 1 day
(1 Review)

Hi, Please Check the Private Message -Sandeep

$50 USD in 2 days
(0 Reviews)

i'm a very experienced shell script programmer.

$40 USD in 1 day
(0 Reviews)