torrents.csv/scripts/update.sh

9 lines
338 B
Bash
Raw Normal View History

# This fetches from several torrent websites for new updates
2019-01-26 08:25:07 +00:00
mkdir ../torrents
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
cargo run --release -- -s ../torrents -t ../torrents.csv.seeders.desc
rm ../torrents.csv.seeders.desc
2018-10-23 00:08:12 +00:00
cd ../scripts
. scan_torrents.sh torrents