GetAFreelancer.com
 
Find projectsSearch
Sign Up | Log in | Top Rated Users | Browse projects | Post Project | RSS feeds | Articles
 

linux find script and replace script

   Click here to post similar project

linux find script and replace script is project number 225505 posted at GetAFreelancer.com. Click here to post your own project.

Closed
(Selected Service Provider blackcoffee)
Status: Closed
Budget: $30-250
Created: 02/13/2008 at 17:38 EST
Bidding Ends: 02/16/2008 at 17:38 EST
Project Creator: ERockDog View PM Post PM
Buyer Rating: 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(6 reviews)
Description: 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 (myresults.txt 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: ./myfind.sh

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

Usage: ./myreplace.sh

#Our Linux Information is Below:
cat /etc/issue
CentOS release 4.6 (Final)
Kernel r on an m
Report violation
Job Type:
  • Linux
  • Perl/CGI
Database: (None)
Operating system: Linux
Bid count: 15
Average bid: $ 48

 

Related project
 
Nonpublic project #293292 Featured Nonpublic
login to view
 

FREE Trial project for new buyers!

 

View Project Message Board     Post Message on Project Message Board
Messages Posted: 2

If you are the project creator or one of the bidders Log in as project creator or bidder for more options

Bid on This Project

Service Providers PMB Bid Delivery Within Time of Bid Provider Rating
nknk
View PM Post PM
$ 40 1 day 02-14-2008 02:05 9.92/109.92/109.92/109.92/109.92/109.92/109.92/109.92/109.92/109.92/10
(65 reviews)
Hi. Please check PM.
devlabs
View PM Post PM
$ 30 0 days 02-14-2008 05:31 9.77/109.77/109.77/109.77/109.77/109.77/109.77/109.77/109.77/109.77/10
(47 reviews)
I WILL DO THIS FOR YOU THANKS DEVLABS
hameedkhan
View PM Post PM
$ 30 0 days 02-14-2008 09:28 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(41 reviews)
Ready to do it.
CoVaLiDiTy
View PM Post PM
$ 30 0 days 02-14-2008 04:35 9.91/109.91/109.91/109.91/109.91/109.91/109.91/109.91/109.91/109.91/10
(34 reviews)
can help you. tnx.
meral
View PM Post PM
$ 50 1 day 02-13-2008 19:31 9.92/109.92/109.92/109.92/109.92/109.92/109.92/109.92/109.92/109.92/10
(24 reviews)
can do it.
Forci
View PM Post PM
$ 35 0 days 02-15-2008 09:30 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(7 reviews)
I can do it. Just check PM please, because I have one minor question.
blackcoffee
View PM Post PM
$ 30 1 day 02-14-2008 03:54 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(4 reviews)
I can do it. It won't take more than 10 lines of code each.
WShuttle
View PM Post PM
$ 30 1 day 02-15-2008 01:08 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(3 reviews)
Hi , The Perl/Shell programming is what I'm most strong with . pls check my PM for more information.
viacheslav
View PM Post PM
$ 50 1 day 02-14-2008 00:46 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(1 reviews)
will write such script for u
jmlinuxadmin
View PM Post PM
$ 30 1 day 02-14-2008 14:34 (No Feedback Yet)
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 bid is low, because I want you to know how I work, in order to establish a long term relationship. I can send you more details, my resume and recommendation letters if needed. Kind regards, Juan Manuel
vukor
View PM Post PM
$ 55 1 day 02-13-2008 21:30 (No Feedback Yet)
Hello, I can write this scripts. Please, check PM.
suresh0912
View PM Post PM
$ 100 3 days 02-14-2008 16:30 (No Feedback Yet)
Please check the PMB..
grem11n
View PM Post PM
$ 150 1 day 02-14-2008 18:15 (No Feedback Yet)
I'am shell expert and i can easy make script you want
ingenucode
View PM Post PM
$ 30 1 day 02-14-2008 20:34 (No Feedback Yet)
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. Depending on the timing of when you accept my bid, I can probably have your project completed within a few hours. I can even add additional enhancements (if you are willing) such as the ability to provide the search/replace strings on the command line. I can give you the option to search all files (by default) or exclude files based either on file extension (.jpg, .gif, etc.) or file type of the contents (a JPEG is still a JPEG if you rename it .gif or .txt, for example). The method can be choosable when you run the command or via changing variables at the top of the script or via a configuration file. I'll ask you to approve these enhancements and I'll only add them if you approve.
globaltech1001
View PM Post PM
$ 30 1 day 02-14-2008 22:44 (No Feedback Yet)
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 Technologies Indore, INDIA
Bid on This Project

 

[ GAF Top Users ] [ View All Projects ] [ EU Freelance ] [ Web Development ] [ Freelance ]

What is GetAFreelancer.com? ( Read about the company )

We provide a safe escrow environment and you don't release the money until project is completed. Deposit money and don't purchase until your project is completed. It's easy, fun and very affordable to outsource your project with our site.

We have thousands of satisfied clients around the world. Find freelance programmers, web designers, copywriters and translators. Outsourcing is hiring an outside organization to perform services such as information processing and applications development.

Find Webmaster Resources and Webmaster Forum. Take a look at Search Engine Submission.