My notes on linux commands, tips, files etc.
List today installed packages
+installed
can be replaced by +reinstalled
or upgraded
grep -iE "$(tail -n1 /var/log/pacman.log | grep -iEo "([0-9]{4}-[0-9]{2}-[0-9]{2})").+installed" /var/log/pacman.log
Dump youtube playlist to txt file
youtube-dl --dump-json --flat-playlist <yt-playlist> | jq -r '"https://youtu.be/\(.id)\n"' > yt-list.txt