Find Jobs
Hire Freelancers

Build a Linux Shell script to edit text in files

$10-100 USD

In Progress
Posted over 8 years ago

$10-100 USD

Paid on delivery
I want a shell script that takes 6 variables. FD1, FD2, (File Directory1 and FileDirectroy2) F1,R1,F2,R2 (these variables will hold short snipets of text). The Shell script functionality is as follows: For each text (xml) file in File Directory FD1, find the text in variable F1 and replalce it with the text in R1. Then find the text in F2 and replace it with the text in R2. Take the altered file and save it in the directory FD2. Example: File directory C:\home\BHC has 5 files in it [login to view URL],[login to view URL],[login to view URL], [login to view URL], [login to view URL] Each .xml file has serveral instances of the text " &BHC_" and "x34x." The shell script would hold the variables : 1. FD1 ="C:\home\BHC" 2. FD2 = C:\home\HRJ" F1="&BHC_" , R1= "&HRJ_"F2 = "x34x" and R2= "c53c" The shell script would cycle through each of the 5 files in the C:\home\BHC directory and do a find /replace in each of the 5 xml files replacing the text in F1and F2 with the text in R1 and R2 ,then save the file in directory C:\home\HRJ (which is in variable FD2.
Project ID: 9186982

About the project

37 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello, Thanks for considering my bid for your project. I understand the script is expected to run on Linux not Windows? I can knock it down for you right away. Do you expect any special characters in the trext strings or words only? If you expect it to work with special characters as well the price will be $100, just text $50 and I can have it ready in less than an hour. Skyline Servers represents a team with over 20 years of professional Linux server administration expertise. We operate out of Chicago, IL, USA, and are available 24/7 for emergency support. We offer server monitoring, performance consulting, security services, mail/web/backup hosting, and many other specialty services. My rate is $75/hour and you only pay for the time spent and only if I complete the work successfully. Feel free to reach out with more details and we can go from there! All the best from Chicago ------------------------------------------------------------------------- Dawid Bryl | Skype: SkylineServers Skyline Servers | [login to view URL] +1-844-666-UNIX | +1-312-809-6100
$50 USD in 1 day
5.0 (50 reviews)
5.3
5.3
37 freelancers are bidding on average $61 USD for this job
User Avatar
Hello I'm interesting your project very well I'm a Good Linux, Admin, Shell Script, C++, Algorithm expert. I understand your req exactly. I m quite well experienced in these jobs. Let's go ahead with me I want to service for you continously. Thanks
$96 USD in 2 days
4.8 (49 reviews)
6.4
6.4
User Avatar
Hi! i can help you! i have experence. .
$100 USD in 3 days
4.9 (65 reviews)
5.6
5.6
User Avatar
Hi. Reading your requirements, I suggest you use bash for it because all linux systems have bash and bash is very light. I can help you with your project because this kind of issues are normal for in my job. Best regards.
$45 USD in 3 days
5.0 (76 reviews)
5.6
5.6
User Avatar
Hello! I'm Unix/Linux Expert with more than 7 years experience. I can write such a script. High quality and post-project support guaranteed! Check my profile and let's start!
$70 USD in 1 day
5.0 (41 reviews)
5.6
5.6
User Avatar
Hi. i have a lot of experience in Linux shell scripting. I can easily help you with this project. we can have a chat about it. thanks
$60 USD in 1 day
4.9 (33 reviews)
5.0
5.0
User Avatar
Hello there.... i'm good with linux shell scripting and programming, i have read your job description and would love to help
$50 USD in 0 day
4.9 (31 reviews)
5.1
5.1
User Avatar
Hello, I have many years of experience in Linux and shell scripting. I can do your project. Please take a look at my portfolio for a few examples of my shell scripting code. If you have any questions, please ask.
$45 USD in 3 days
5.0 (33 reviews)
5.1
5.1
User Avatar
Hello! I can write such script for you. Standard linux with standard utilities and standard bash, right?
$49 USD in 3 days
5.0 (30 reviews)
4.9
4.9
User Avatar
A proposal has not yet been provided
$70 USD in 1 day
4.8 (30 reviews)
4.4
4.4
User Avatar
Hi Employer, I have read your description and been interested in your project. Let me help you finish the shell script I'm ready to discuss and start to work on it now. ==================================== Please discuss before awarding the project.
$117 USD in 2 days
5.0 (3 reviews)
4.2
4.2
User Avatar
hello, sir: c/c++/python expert worked for samsung & huawei maybe more details will be helpful a sample can be provided before hired. hope to get message from u ty
$100 USD in 3 days
5.0 (12 reviews)
4.2
4.2
User Avatar
Hi, I, based on my 5 years experience as a software and embedded engineer knowledgeable with unix and linux, Windows stuff, can handle this task pretty well. Let me know the best of your time so we can discuss further based on your requirements and we can move forward to the next step. Thanks, Joseph C Ocero
$44 USD in 0 day
4.9 (14 reviews)
4.4
4.4
User Avatar
Hi i have 11 years of experience and i would like to work on your project.
$55 USD in 2 days
4.9 (8 reviews)
4.1
4.1
User Avatar
I hope you want a linux shell script. But your example gives example of windows OS while naming directory. Nevertheless, I can do it if its linux bash shell scripting job.
$61 USD in 1 day
5.0 (1 review)
2.1
2.1
User Avatar
Hello. My name is Andrey. I am experienced FreeBSD/Linux sysadmin. I can write such script for you. Thanks.
$50 USD in 2 days
5.0 (1 review)
1.6
1.6
User Avatar
I am a software engineer with over 5 years industry experience in linux and scripting. I can do this for you quickly.
$20 USD in 1 day
5.0 (2 reviews)
1.8
1.8
User Avatar
We can do this through RegularExpressions. This way is well documented, portable and easy to change in future.
$61 USD in 2 days
5.0 (1 review)
1.4
1.4
User Avatar
Hi should the script look for subdirectories in FD1 and FD2 recursively or just top level text files on FD1 and FD2 are enough Regards
$61 USD in 1 day
0.0 (1 review)
0.0
0.0
User Avatar
Hi, I can work on this as soon as hired, I have experience writing python script for similar tasks. Thanks
$55 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$61 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Chicago, United States
0.0
0
Payment method verified
Member since Apr 10, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.