4 ms·
Do you automate your Linux ISO seeding? Like getting updated torrents when a new version is released. I have been thinking about this from time to time, and hav
by c0wb0yc0d3r 4y ago
Do you automate your Linux ISO seeding? Like getting updated torrents when a new version is released. I have been thinking about this from time to time, and haven't come up with a solution other than scraping.
- AndroidKitKat 4y agoI pretty much update things manually when I think of it (usually every ~2 months or so) or when I am downloading a new version for whatever reason (like to flash yet another computer I picked up). I've been looking for something to do in my downtime , so I might see if I can whip something up to automate updates, could be a fun project.
- c0wb0yc0d3r 4y agoRight now I have have changedection.io call a huginn webhook to alert me when a new release is up.
- natebc 4y agoI just do this. Update the ubuntu line every 2 years or so. This runs as a cronjob on my synology with the working directory set to a directory that the Synology "Download Station" is watching. It picks up the torrents and does its thing. I come in every now and then and clean out the dot releases. It's not the best but it's not the worst either. #!/bin/bash wget -nH --cut-dirs=4 -r -l1 --no-parent -R "*.tmp" -A "*.torrent" https://cdimage.debian.org/debian-cd/current/amd64/bt-dvd/ wget -nH --cut-dirs=4 -r -l1 --no-parent -R "*.tmp" -A "*.torrent" https://cdimage.debian.org/debian-cd/current/amd64/bt-cd/ wget -nH --cut-dirs=4 -r -l1 --no-parent -R "*.tmp" -A "*.torrent" https://releases.ubuntu.com/22.04/ rm *-DVD-{2,3}.iso.torrent debian-mac-*.torrent *.tmp *.loaded
- c0wb0yc0d3r 4y agoWow, thanks! Much simpler than my glue using changedetection.io and huginn. I also learned some new tricks with wget. For others interested: https://explainshell.com/explain?cmd=wget+-nH+--cut-dirs%3D4+-r+-l1+--no-parent+-R+%22*.tmp%22+-A+%22*.torrent%22+https%3A%2F%2Freleases.ubuntu.com%2F22.04%2F+++rm+*-DVD-%7B2%2C3%7D.iso.torrent+debian-mac-*.torrent+*.tmp+*.loaded https://explainshell.com/explain?cmd=wget+-nH+--cut-dirs%3D4...