Added shdate function
This commit is contained in:
parent
e650e55b49
commit
6779dd193d
@ -48,3 +48,6 @@ pdf () {xpdf $1 &}
|
|||||||
# download youtube playlist to create batchfile
|
# download youtube playlist to create batchfile
|
||||||
# $1 is the playlist
|
# $1 is the playlist
|
||||||
ytpl-export () {yt-dlp -j --flat-playlist "$1" | jq -r '.id' | sed 's_^_https://youtu.be/_'}
|
ytpl-export () {yt-dlp -j --flat-playlist "$1" | jq -r '.id' | sed 's_^_https://youtu.be/_'}
|
||||||
|
|
||||||
|
# common date format
|
||||||
|
shdate () {date +'%Y%m%d'}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user