In Progress

Shell script to delete all git tags older that two weeks

I need a script that will delete all git tags older than two weeks.

The tags all follow the same format 2014-02-22_06-14-57_30

YYYY-MM-DD_HH-mm-SS_B#

YYYY - 4 digit year

MM - 2 digit month

DD - 2 digit day

HH - 2 digit 24 hour time

mm - 2 digit minutes

SS - 2 digit seconds

B# - CI build number which can be ignored

I want the script to take a target repository as a parameter

[url removed, login to view] {taget-git-repo}

The script must clone the target repo

identify all tags that match the pattern described above

for all tags older than 2 weeks delete the tag and push to the remote repo

This script will run with the ssh configuration setup for the target repo so the script can assume ssh will just work.

Skills: Shell Script, UNIX

See more: shell script, git, delete, shell unix, older, shell script ssh, push script, shell seconds, unix shell, run script ssh, ssh run script shell, shell script seconds, remote follow, pattern script, shell script delete, format number shell, shell format number, unix shell script, shell script format number, shell script run, run script minutes, shell script delete line, shell script delete files, script run minutes, script shell

About the Employer:
( 19 reviews ) Newport, Australia

Project ID: #5470022

Awarded to:

kaloyan13

Bash coder and Linux guru. I am a developer also, and have experience with git. I will do the script in Bash. Thanks.

$34 AUD in 1 day
(28 Reviews)
4.5

22 freelancers are bidding on average $58 for this job

gfaraway

i can start to work on it Monday, thanks for the invite! it will take me a day to do it more characters more characters more characters

$166 AUD in 1 day
(2 Reviews)
2.9
ebmedias

Hello, i can write such a bash script, as there are much lower bids i am not sure that you are interessted, but i think you want to get quality work. As you can see in my reviews i have already done serveral bash More

$125 AUD in 2 days
(3 Reviews)
2.7
srinichal

I am an expert in shell scripting and can deliver the project to your specifications and needs asap .

$94 AUD in 3 days
(5 Reviews)
2.5
zkutch

Hello. More 20 years programming experience. I suggest perl script. Regards. ------------------------------------------------------------------------------------------------------------------------------------------ More

$90 AUD in 3 days
(2 Reviews)
2.3
parthitce

As a Linux professional with 4+ years of industrial experience with good knowledge in Shell scripting (with various modules), Batch scripting, C programming and good understanding of version control tools like GIT,Merc More

$30 AUD in 3 days
(1 Review)
1.0
wildpointer

I am an experienced programmer and with more than 6 years experience writing shell script. I know exactly what you want and I can do it.

$32 AUD in 3 days
(0 Reviews)
0.0
darkestkhan

I have some experience writing various helper scripts. The only question left is exact shell - can one use bash features ?

$30 AUD in 1 day
(0 Reviews)
0.0
ybabji

Hi, I read the Project description. I am looking forward to work with you on the project which you posted. We can write a script to remove all the old tags(assuming we have user details to delete the tags) If neede More

$35 AUD in 1 day
(0 Reviews)
0.0
bhogasenareddy

Hi, I am new to freelancer. And currently working for one of the top MNC company. Throughout my carrier I have got first rating in my appraisals. I am very good at analytical skills and programming. I can complete this More

$33 AUD in 1 day
(0 Reviews)
0.0
tukapr

Hi. I'll help you with the scripting. I'm new to git and its commands, but if you're familiar with the commands we can work together on this. Please let me know.

$30 AUD in 1 day
(0 Reviews)
0.0
m2ss

I have nearly 15+ years of exp. in system administration(which includes 2+ years of work exp. in Oracle also) I have developed nearly 22+ Bash Shell scripts which is including one of 2200+ Line of code shell script a More

$155 AUD in 5 days
(0 Reviews)
0.0
govenp26

Currently work for a South Africa's biggest telecommunications company, Telkom SA. I've written a number of UNIX scripts which are currently being used in the mutli-million rand worth company. I will deliver accord More

$55 AUD in 1 day
(0 Reviews)
0.0
arunnanda12

Have done similar scripts earlier. I believe this can be completed as per your expectations on a timely manner.

$55 AUD in 3 days
(0 Reviews)
0.0
dc6269

A proposal has not yet been provided

$35 AUD in 1 day
(0 Reviews)
0.0
santhana25

Hi, I have 4 years of experience in unix and perl scripting. i can write a shell script as per your requirements. please contact me so that i can start it. i will finish it in less than a day. Thanks More

$30 AUD in 1 day
(0 Reviews)
0.0
mhfan

一个有效的提议尚未被提供

$55 AUD in 3 days
(0 Reviews)
0.0
pratap548

Hello! I would like to work with you. If you are interested ,then please let me know. I can reconsider bidding price if possible.

$45 AUD in 2 days
(0 Reviews)
0.0
avkiev

Hi I have big experience with scripts, so you can hire me. I always do my job fast and neatly. My Skype - avkiev. Feel free to contact me. Best regards Alex

$54 AUD in 3 days
(0 Reviews)
0.0
in1024days

Hi, Please hold off your picking now, I am completing your script now. I will update my proposal with the full script. Thanks --- updated --- Below is the bash script, please contact me if any further requ More

$39 AUD in 1 day
(0 Reviews)
0.0
ibaydan

A proposal has not yet been provided

$30 AUD in 1 day
(0 Reviews)
0.0