Quick Reference

Essential commands, aliases, and decision flowcharts for quick lookup.

Command Cheat Sheets

FlagDescription
-FList available formats
-f <ID>Download specific format ID (e.g., -f 22)
-f 'bv*+ba/b'Best video + best audio, merge
-x --audio-format mp3Extract audio only, convert to MP3
--playlist-start NStart at Nth video in playlist
--download-archive FILERecord downloaded IDs to avoid re-downloads
--cookies-from-browser BUse cookies from firefox, chrome, etc.

Useful Bash Aliases

Add these to your /home/user/.bashrc or /home/user/.zshrc.

Bash aliases
# Quick download of best quality video+audio
alias yta='yt-dlp -f "bv*+ba/b"'

# Quick download of audio only, converted to mp3
alias ytmp3='yt-dlp -x --audio-format mp3'

# Anonymize curl downloads through Tor
alias tcurl='curl --socks5-hostname localhost:9050'

# Anonymize wget through Tor
alias twget='torsocks wget'

# List all Btrfs subvolumes
alias btrfs-ls='sudo btrfs subvolume list'

# Check Btrfs filesystem usage
alias btrfs-usage='sudo btrfs filesystem usage -h'

Tool Selection Flowchart

IF Want to download video/audio?

ANDCLI/scripting neededyt-dlp
ANDAuto-archive channelsTartube
ANDQuick one-off downloadParabolic

IF Want to download images?

ANDSocial media/art sitesgallery-dl
ANDImageboards (boorus)imgbrd-grabber
ANDQuick album ripRipMe

IF Want to archive a website?

ANDSimple, static siteWget or HTTrack
ANDComplex, JS-heavy siteArchiveWeb.page / Browsertrix
ANDPermanent multi-format archiveArchiveBox
ANDSave one article portablySingleFile

IF Want to organize knowledge?

ANDNetworked thought, polished UIObsidian
ANDOpen source, outlinerLogseq
ANDEncrypted multi-device syncJoplin

IF Need to find a file?

ANDKnow the filenameFSearch
ANDSearch text contentRecoll

Useful Scripts