Find Jobs
Hire Freelancers

Linux bash script to automatically delete old releases

€8-30 EUR

Completed
Posted over 5 years ago

€8-30 EUR

Paid on delivery
Hello, I am searching for a developer who can write a bash script that automatically deletes old releases. I have a folder with 2 subdirectories and a symlink named "current". The symlink "current" links to the latest release in the folder "releases", which currently is (as you can see on the screenshots) the folder "497". The script should be run by a cronjob and if executed delete all folders in the "releases" subdirectory except the one linked via the current symlink.
Project ID: 17517467

About the project

6 proposals
Remote project
Active 6 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
Hi do you want a bash script or is it ok for you python? i can write python script and run at with cronjob
€24 EUR in 1 day
5.0 (1 review)
1.3
1.3
6 freelancers are bidding on average €24 EUR for this job
User Avatar
Hello, I am an expert Linux developer and Bash shell scripting is my favorite. I can create a shell script that unlinks or deletes all files under the releases directory except the one symbolically linked to the file named current in the parent directory. I can deliver today as well. Kind regards, Ahmed
€34 EUR in 1 day
5.0 (5 reviews)
5.2
5.2
User Avatar
I can write you a python script that will do exactly the same.
€14 EUR in 1 day
4.5 (14 reviews)
3.8
3.8
User Avatar
I have vast experience with multiple linux operating systems like ubuntu and arch, and I have created multiple scripts on them so I believe that my knowledge could be helpful to completing this project.
€22 EUR in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of GERMANY
Germany
0.0
0
Payment method verified
Member since Mar 12, 2017

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.