Find Jobs
Hire Freelancers

Log Rotation Shell Script

$30-250 USD

Completed
Posted about 9 years ago

$30-250 USD

Paid on delivery
We want to create a bash shell script that perform the following functionality. We have a variable in .bash_profile file called APP_LOGS. All application logs are sitting there. We want to archive logs from this place to ARCHIVELOGS folder. Once the logs are rotated, logs should be removed from APP_LOGS. Archived logs file should be zip with full compression, so it will take the least space on the disk. Archived log file should have hostname and date appended to it. Archived file should not overlap existing archived files in ARCHIVELOGS folder. I will provide further details if needed.
Project ID: 7715260

About the project

14 proposals
Remote project
Active 9 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, I have done many bash scripts and can do yours. Thanks......................................
$55 USD in 1 day
4.9 (258 reviews)
6.8
6.8
14 freelancers are bidding on average $65 USD for this job
User Avatar
hello! what about python script? I believe - it much better. I can do this work fast and clean. Please contact me for details.
$35 USD in 3 days
5.0 (40 reviews)
5.2
5.2
User Avatar
Hello, Thanks for considering me for this project. I've been working on Linux and scripting bash for 15 years and run a hosting and server support company where we deal with issues like this all day every day. It would be my pleasure to create this script for you quickly and efficiently and earn your trust for any future server work that you might need. Please let me know when I can get started :) All the best from Chicago Brylu
$166 USD in 1 day
5.0 (50 reviews)
5.3
5.3
User Avatar
#!/bin/bash zip -r -9 $ARCHIVELOGS/ArchivedLogs-$(date +%Y-%m-%d)[$(hostname)][$RANDOM].zip $APP_LOG/* rm -rf $APP_LOG/* Message me if something is wrong. Depends on you if you will pay me or not. Would be great if you did! What I ask from you is that you review my profile. Put whatever number of stars but 5 stars WILL be nice. Have a great day!
$30 USD in 0 day
4.9 (13 reviews)
4.5
4.5
User Avatar
Dear Sir, I am Thomas, a 22 years old french student that just from university in 2010. Back when I was a kid, I only had a computer to play with, so I spent all my time on it. That's why I now have more than 7 years of experience in Linux systems administration, and I have knowledge with the most popular Linux distributions. I worked as a network/system administrator at various companies where I set up WebServer, DNS servers, Databases, Monitoring, Backups, Scripting jobs, Virtualisation and so on. You can checkout my profile and see how much Linux-related project I successfuly completed Please come and have a chat with me, I am kind and helpful. Regards,
$54 USD in 0 day
4.9 (34 reviews)
4.5
4.5
User Avatar
A proposal has not yet been provided
$88 USD in 0 day
4.8 (7 reviews)
4.0
4.0
User Avatar
Предложение еще не подано
$50 USD in 1 day
5.0 (5 reviews)
3.8
3.8
User Avatar
Предложение еще не подано
$55 USD in 1 day
4.7 (12 reviews)
3.5
3.5
User Avatar
I'll start on this and get it done for you asap, shouldn't take more than an hour or two from start to finish testing locally. I see you're preserving the hostname, are multiple servers logging to the same destination? David
$111 USD in 3 days
4.5 (5 reviews)
2.5
2.5
User Avatar
you can contact with me at any moment to discuss your task
$111 USD in 3 days
5.0 (1 review)
2.1
2.1
User Avatar
1. many years of linux operation. I have write many script similar to this 2. This is my first job on freelancer, I will do it with all my patience.
$45 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$35 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, this shouldn't even take a couple of hours to complete. I have my own Linux Test Servers and I can do this very quickly.
$30 USD in 0 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
New York, United States
3.0
1
Member since Oct 9, 2012

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) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
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.