torrents.csv/scripts/update.sh

10 lines
323 B
Bash
Raw Normal View History

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