Using a custom torrent save dir for update
This commit is contained in:
parent
bb617d4c37
commit
c257c0a574
|
@ -99,7 +99,7 @@ Then [click here](https://gitlab.com/dessalines/torrents.csv/merge_requests/new)
|
|||
```
|
||||
git clone https://gitlab.com/dessalines/torrents.csv
|
||||
cd torrents.csv/scripts
|
||||
./update.sh
|
||||
./update.sh SAVE_TORRENT_DIR
|
||||
```
|
||||
|
||||
## How the .csv file looks
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
# This fetches from several torrent websites for new updates
|
||||
mkdir ../torrents
|
||||
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
|
||||
cargo run --release -- -s "$1" -t ../torrents.csv.seeders.desc
|
||||
rm ../torrents.csv.seeders.desc
|
||||
cd ../scripts
|
||||
. scan_torrents.sh torrents
|
||||
. scan_torrents.sh "$1"
|
||||
|
|
Loading…
Reference in New Issue