From 6779dd193df4e817f2e8a14a2ade77f47b53395c Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sun, 7 May 2023 16:14:23 +1000 Subject: [PATCH] Added shdate function --- .config/shell/common | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/shell/common b/.config/shell/common index 05739ab..d457a2d 100644 --- a/.config/shell/common +++ b/.config/shell/common @@ -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'}