Skip to content

Instantly share code, notes, and snippets.

@brenopolanski
Created May 4, 2018 23:56
Show Gist options
  • Save brenopolanski/3c53068b8237bf692cc144ae447ff68f to your computer and use it in GitHub Desktop.
Save brenopolanski/3c53068b8237bf692cc144ae447ff68f to your computer and use it in GitHub Desktop.
Add Jekyll date
sed -i "/---.*/,/---.*/s/^date:.*$/date: $(date -u "+%Y-%m-%d")/" ./**/*.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment