beatific: yt-dlp aliases

This commit is contained in:
Tim Van Baak 2025-05-01 22:10:11 -07:00
parent cf50f346f0
commit 9bfa44aa49

View File

@ -69,13 +69,19 @@ in {
cp = "cp -rp"; cp = "cp -rp";
xo = "xdg-open"; xo = "xdg-open";
scp = "scp -p"; scp = "scp -p";
# cp:mv::scp:this
smv = "rsync -av --remove-source-files"; smv = "rsync -av --remove-source-files";
# Hide ffmpeg banners
ffprobe = "ffprobe -hide_banner"; ffprobe = "ffprobe -hide_banner";
ffmpeg = "ffmpeg -hide_banner"; ffmpeg = "ffmpeg -hide_banner";
# Short directory nav
".." = "cd .."; ".." = "cd ..";
"..." = "cd ../.."; "..." = "cd ../..";
"...." = "cd ../../.."; "...." = "cd ../../..";
"....." = "cd ../../../.."; "....." = "cd ../../../..";
# yt-dlp aliases
yt-dlp-archive = "yt-dlp --write-description --write-annotations --write-subs --write-url-link --remux-video mkv --write-thumbnail --write-info-json --continue --sub-langs en --convert-subs srt --sleep-interval 10 --retry-sleep 10 --sleep-requests 5";
yt-dlp-date = ''yt-dlp -o "%(upload_date)s - %(title)s [%(id)s].%(ext)s"'';
}; };
security.sudo.extraRules = [{ security.sudo.extraRules = [{
users = [ "tvb" ]; users = [ "tvb" ];