From 2e3fe67a9227d17d0c955ba9e8024ee87a086d0c Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Sat, 15 Apr 2023 06:32:58 +0200 Subject: [PATCH] [update] Create the youtube alieses --- .config/shell/aliases.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.config/shell/aliases.sh b/.config/shell/aliases.sh index c3cb855..4e5795f 100644 --- a/.config/shell/aliases.sh +++ b/.config/shell/aliases.sh @@ -42,3 +42,11 @@ alias mv='mv -i' # Update alias fuck-my-lap='sudo pacman -Syyu' + +#youtube download +alias yta-aac="yt-dlp --extract-audio --audio-format aac " +alias yta-best="yt-dlp --extract-audio --audio-format best " +alias yta-flac="yt-dlp --extract-audio --audio-format flac " +alias yta-mp3="yt-dlp --extract-audio --audio-format mp3 " +alias ytv-best="yt-dlp -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio' --merge-output-format mp4 " +