Created
September 11, 2018 01:49
-
-
Save abatilo/4a5f22c5cd82b37a0d18180d0596e597 to your computer and use it in GitHub Desktop.
Copy a short ISO8601 date to the clipboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
date -u +"%Y-%m-%d" | xclip -sel clip | |
echo "Short ISO 8601 date has been copied to your clipboard." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment