From 88d4b9fda6b6a24f500eaa43540ac1cd3f34c125 Mon Sep 17 00:00:00 2001 From: heck Date: Wed, 4 Sep 2024 12:00:51 +0200 Subject: [PATCH] convenience.sh is the place to be cluttered --- bash_profile.d/convenience.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bash_profile.d/convenience.sh b/bash_profile.d/convenience.sh index 2d8cdbd..8c63011 100644 --- a/bash_profile.d/convenience.sh +++ b/bash_profile.d/convenience.sh @@ -13,8 +13,11 @@ function heck_fmatch() { grep -ri $1 * | perl -pe 's/\:.*?\n/\n/g' | sort -u } +alias heck_yt2mp3='yt-dlp -x --audio-quality 0 --audio-format mp3' -alias yt2mp3='yt-dlp -x --audio-quality 0 --audio-format mp3' +function heck_yt_audio { + yt-dlp -x --audio-format mp3 $1 +} function heck_ts_to_mp4_replace() { for i in $(find . | grep .ts$); do {