Moving scripts to their own directory, except for search

This commit is contained in:
Dessalines 2018-10-11 15:27:47 -07:00
parent a442341cd0
commit 07f9f1396b
5 changed files with 3 additions and 3 deletions

View File

@ -2,6 +2,7 @@
# Checking arguments
# Help line
cd ..
torrents_csv="`pwd`/torrents.csv"
help="Run ./add_torrents.sh [TORRENTS_DIR] \nor goto https://gitlab.com/dessalines/torrents.csv for more help"

View File

@ -1,5 +1,5 @@
# This prunes torrents.csv, removing those with too many columns, and sorts it
cd ..
torrents_csv="`pwd`/torrents.csv"
# Remove lines that don't have exactly 7 ';'

0
scrape.sh → scripts/scrape.sh Normal file → Executable file
View File

View File

@ -1,6 +1,5 @@
# This fetches from several torrent websites for new updates
pushd new_torrents_fetcher
pushd ../new_torrents_fetcher
cargo run
cat tmp_adds.csv >> ../torrents.csv
rm tmp_adds.csv