2019-02-20 23:08:43 +00:00
|
|
|
# Rescan everything that hasn't been scanned in a while
|
2019-02-21 02:02:16 +00:00
|
|
|
cd ../
|
2019-02-20 23:08:43 +00:00
|
|
|
awk -F';' '$8 < $(date -d "6 months ago" "+%s")' torrents.csv | cut -d ';' -f1 > hashes_to_rescan
|
|
|
|
grep -vFf hashes_to_rescan infohashes_scanned.txt > new_infohashes_scanned
|
|
|
|
rm hashes_to_rescan
|
|
|
|
mv new_infohashes_scanned infohashes_scanned.txt
|
|
|
|
|