Дополнительные команды

This commit is contained in:
Andrei Astafev 2022-09-08 12:06:19 +03:00
parent d0292e504b
commit eeaa1d8b55

View File

@ -31,6 +31,7 @@ YDL="$HOME/bin/youtube-dl"
[ ! -x "$YDL" ] && YDL="$(which youtube-dl)" [ ! -x "$YDL" ] && YDL="$(which youtube-dl)"
if [ -x "$YDL" ]; then if [ -x "$YDL" ]; then
alias ydlbest="youtube-dl --merge-output-format mkv -f 'bestvideo+bestaudio'" alias ydlbest="youtube-dl --merge-output-format mkv -f 'bestvideo+bestaudio'"
alias ydlaudio="youtube-dl -f bestaudio"
alias ydl="youtube-dl --merge-output-format mkv" alias ydl="youtube-dl --merge-output-format mkv"
fi fi
@ -59,3 +60,4 @@ alias -g X0='| xargs -0'
alias -g XS='| sort | xargs' alias -g XS='| sort | xargs'
alias -g XS0='| sort -z | xargs -0' alias -g XS0='| sort -z | xargs -0'
audio-join() ffmpeg -i "concat:${(j:|:)@[2,-1]}" -acodec copy $1