Find Jobs
Hire Freelancers

Write some Software

$30-250 USD

Fechado
Publicado há aproximadamente 10 anos

$30-250 USD

Pago na entrega
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 [login to view URL] {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.
ID do Projeto: 5491008

Sobre o projeto

9 propostas
Projeto remoto
Ativo há 10 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
9 freelancers estão ofertando em média $95 USD for esse trabalho
Avatar do Usuário
Hi, i can do this for you. i know shell scripting. its a very easy task for me.. i done similar script in the past as part of my work.. award me let's start... Thanks rahulsng1
$100 USD em 2 dias
5,0 (10 avaliações)
3,2
3,2
Avatar do Usuário
A proposal has not yet been provided
$100 USD em 3 dias
4,9 (4 avaliações)
2,1
2,1
Avatar do Usuário
#!/bin/sh ##### conf ##### main_path=your file path dir ################ for name in `ls -1 $main_path` do #echo $name ft=`/usr/bin/stat -c "%Y" $main_path/$name` #echo $ft ct=`date +%s` #echo $ct dift=`expr $ct - $ft` #echo $dift #2 weeks if [ $dift -gt 86400*14 ] then #echo "$name gt" rm -f $main_path/$name fi done exit 0 push to the remote repo?scp?? i have export script handle scp please prefer to my bid
$30 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
I have some experience writing various helper scripts. The only question left is exact shell - can one use bash features?
$30 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
I already did a similar Task before where I was required to Automatically Backup a List of GIT/GITHub Repos and to find specific metadata related to some Repo based on Dates, and Author Name. I have no problem to review and test the Final Script with you till you get fully satisfied :).
$30 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
A proposal has not yet been provided
$155 USD em 3 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
A proposal has not yet been provided
$155 USD em 3 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
A proposal has not yet been provided
$155 USD em 3 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
I provide my IT services to accomplish the software requirements. For additional information check my portfolio or use any available contacts to clarify any issue.
$100 USD em 3 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) SINGAPORE
Singapore, Singapore
0,0
0
Membro desde fev. 26, 2014

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.