====== List of useful shell aliases and CLI tools ======
==== Download a whole website with wget ====
alias mirrorweb='wget --mirror --page-requisites --adjust-extension --convert-links '
==== Download a whole website with wget over Tor ====
alias mirrorwebtor='torsocks wget --mirror --page-requisites --adjust-extension --convert-links '
==== Download audio from Youtube/Soundcloud/et c. ====
alias dlmp3='yt-dlp --embed-thumbnail --audio-format mp3 --audio-quality 0 --extract-audio --add-metadata'
==== Compress data with "ultra"-settings with 7zip ====
I stole this one from the 7z(1) man page. The first argument is the name of the archive. Everything after that is the contents of the man page.
alias compressmax='7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on'
==== Generate passwords from /dev/urandom ====
alias generatepasswd='tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w 30 | head -n 1'