Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash
ls -f1 | grep -Po '.*(?=20[0-1][0-9][-_]?[0-2][0-9][-_]?[0-3][0-9])' | awk '{ print $NF }' | sort | uniq | egrep -v '[0-9]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.