Removing sort from prune
This commit is contained in:
parent
e16a6d85a1
commit
9234811618
|
@ -16,7 +16,7 @@ sed -i '1d' $torrents_csv
|
||||||
|
|
||||||
# Sort by seeders desc (so when we remove dups it removes the lower seeder counts)
|
# Sort by seeders desc (so when we remove dups it removes the lower seeder counts)
|
||||||
# TODO this should actually probably do it by scraped date
|
# TODO this should actually probably do it by scraped date
|
||||||
sort --field-separator=';' --key=5 -nr -o $torrents_csv $torrents_csv
|
# sort --field-separator=';' --key=5 -nr -o $torrents_csv $torrents_csv
|
||||||
|
|
||||||
# Remove dups
|
# Remove dups
|
||||||
sort -u -t';' -k1,1 -o $torrents_csv $torrents_csv
|
sort -u -t';' -k1,1 -o $torrents_csv $torrents_csv
|
||||||
|
|
Loading…
Reference in New Issue