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 {