Shell
Files not accessed in over 180 days.
Won't work if you have noatime
in /etc/fstab
.
1000 biggest files in the system.
Checksum for every file
Remove empty folders
Last played/currently playing in BBC Radio 1
curl -s https://rms.api.bbc.co.uk/v2/services/bbc_radio_one/segments/latest\?limit\=1 | jq --raw-output ".data[].titles.primary + \" - \" + .data[].titles.secondary"
Play BBC Radio 1
streamlink -p 'mpv' -v https://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/dash/nonuk/dash_low/aks/bbc_radio_one.mpd best
Amusing use of my ISP
youtube-dl --get-id "https://www.youtube.com/user/Rambalac" | xargs -I '{}' -P 5 -- youtube-dl "https://youtube.com/watch?v={}" -q -f "bestvideo" -o - > /dev/null
I think this may crash your computer...
:(){youtube-dl --get-id "https://www.youtube.com/user/Rambalac" | xargs -I '{}' -P 5 -- youtube-dl "https://youtube.com/watch?v={}" -q -f "bestvideo" -o - > /dev/null;:};:
Random artist from "The Metal Archives"
You need pup
. https://github.com/EricChiang/pup
curl -s https://www.metal-archives.com/band/random -L | pup 'body div div div#band_content div#band_info h1.band_name a text{}'