torrents.csv/scripts/update.sh

10 lines
323 B
Bash
Raw Normal View History

2020-01-08 20:56:46 +00:00
#!/bin/sh
# This fetches from several torrent websites for new updates
2018-10-23 00:08:12 +00:00
cd ../new_torrents_fetcher
sort -r --field-separator=';' -n --key=5 ../torrents.csv > ../torrents.csv.seeders.desc
2019-09-07 06:01:52 +00:00
cargo run --release -- -s "$1" -f -t ../torrents.csv.seeders.desc
rm ../torrents.csv.seeders.desc
2018-10-23 00:08:12 +00:00
cd ../scripts
. scan_torrents.sh "$1"