Added shdate function

This commit is contained in:
Ben Vincent 2023-05-07 16:14:23 +10:00
parent e650e55b49
commit 6779dd193d

View File

@ -48,3 +48,6 @@ pdf () {xpdf $1 &}
# download youtube playlist to create batchfile
# $1 is the playlist
ytpl-export () {yt-dlp -j --flat-playlist "$1" | jq -r '.id' | sed 's_^_https://youtu.be/_'}
# common date format
shdate () {date +'%Y%m%d'}