In Progress

linux find script and replace script

We need a find script and a replace script written as .sh linux scripts or perl scripts.

Payment is made after the scripts are proven.

Both scripts must follow the conditions below:

-Must search subdirectories but ignore a handful of subdirectories that are listed in the script.

-All the files found (find script) or changed (replace script) need to be listed in a results file specified in the script ([url removed, login to view] etc).

-The strings need to be assigned to variables at the top of the script so they can be easily changed when reuse the script to find/replace other strings.

-The script should search through all types of files by default but we should have the option to exclude certain types of files like .jpg, .gif etc.

Here are the specifics for the two scripts:

1. Find Script.

Finds all files with the string 'abc/defg' but excludes files that have the string 'tuvabc/defgxyz' without the string 'abc/defg' on its own.

Example File 1: xxxxabc/defgxxxx --> Should be found.

Example File 2: xxxxabc/defgxxxxtuvabc/defgxyzxxx --> Should be found.

Example File 3: xxxxtuvabc/defgxyzxxx --> Should NOT be found.

Usage: ./[url removed, login to view]

2. Replace Script

Finds all files with the string '123/456/789' and replaces the string with '123/789'.

Usage: ./[url removed, login to view]

#Our Linux Information is Below:

cat /etc/issue

CentOS release 4.6 (Final)

Kernel r on an m

Skills: Linux, Perl

See more: linux find script, linux find replace, replace script linux, script linux replace, linux script replace string, linux find scripts, find script linux, linux script replace, linux find replace script, linux replace script, linux find jpg, linux replace variable, linux replace file extension, find replace script linux, search replace script linux, linux search script, find replace linux, txt jpg, perl search script, m string, gif txt, find perl, linux string replace, linux find exclude string, script string replace

About the Employer:
( 6 reviews ) Antelope, United States

Project ID: #225505

Awarded to:

blackcoffee

I can do it. It won't take more than 10 lines of code each.

$30 USD in 1 day
(1 Review)
1.0

14 freelancers are bidding on average $49 for this job

meral

can do it.

$50 USD in 1 day
(109 Reviews)
7.6
nknk

Hi. Please check PM.

$40 USD in 1 day
(174 Reviews)
7.0
hameedkhan

Ready to do it.

$30 USD in 0 days
(67 Reviews)
5.8
CoVaLiDiTy

can help you. tnx.

$30 USD in 0 days
(89 Reviews)
5.7
WShuttle

Hi , The Perl/Shell programming is what I'm most strong with . pls check my PM for more information.

$30 USD in 1 day
(4 Reviews)
4.1
NeoWebSoftware

I WILL DO THIS FOR YOU THANKS DEVLABS

$30 USD in 0 days
(7 Reviews)
3.5
Forci

I can do it. Just check PM please, because I have one minor question.

$35 USD in 0 days
(2 Reviews)
1.8
vukor

Hello, I can write this scripts. Please, check PM.

$55 USD in 1 day
(0 Reviews)
0.0
viacheslav

will write such script for u

$50 USD in 1 day
(0 Reviews)
0.0
jmlinuxadmin

Dear Sirs, I have been developing this kind of scripts since 2001, under Debian, Slackware, Redhat and CentOS. Nowadays, I'm managing different linux servers for USA, Canada, Spain, Mexico, and Uruguay. This b More

$30 USD in 1 day
(0 Reviews)
0.0
suresh0912

Please check the PMB..

$100 USD in 3 days
(0 Reviews)
0.0
grem11n

I'am shell expert and i can easy make script you want

$150 USD in 1 day
(0 Reviews)
0.0
ingenucode

I can get this done pretty quickly for you. I've got about 8 years of Perl and bash programming experienced and have done a lot of work in string processing and searching, particularly with regular expressions. Dependi More

$30 USD in 1 day
(0 Reviews)
0.0
globaltech1001

We have been developing such type of scripts across varios platforms for backup, searching, automation of mail traffic etc for a cluster of 100 servers. We can do this job for you with perfection. Regards, Global More

$30 USD in 1 day
(0 Reviews)
0.0