Skip to content

Instantly share code, notes, and snippets.

View cr33dx's full-sized avatar
🤙
:(){ :|:& };:

Shashwat cr33dx

🤙
:(){ :|:& };:
View GitHub Profile
@cr33dx
cr33dx / gist:db54e34f07eaa68870483e6afa9961f4
Last active October 25, 2021 16:59
Delete All Tags In Digital Ocean Repository except the newest.
repo=repo_name
doctl r r lt $repo | awk 'NR>2 {print $1}' | xargs doctl r r dt -f $repo