Adding some torrents.
This commit is contained in:
parent
d67ac6f1b4
commit
ce2dfca987
|
@ -90,7 +90,7 @@ for torrent_file in *.torrent; do
|
||||||
|
|
||||||
# Append the add lines to the torrents.csv file
|
# Append the add lines to the torrents.csv file
|
||||||
echo -e "\n$add_line" >> $torrents_csv
|
echo -e "\n$add_line" >> $torrents_csv
|
||||||
truncate -s -1 $torrents_csv # Removing last newline
|
# truncate -s -1 $torrents_csv # Removing last newline
|
||||||
echo -e "Added $name"
|
echo -e "Added $name"
|
||||||
else
|
else
|
||||||
echo -e "$name has no seeders."
|
echo -e "$name has no seeders."
|
||||||
|
|
|
@ -21,6 +21,6 @@ sort --field-separator=';' --key=5 -nr -o $torrents_csv $torrents_csv
|
||||||
|
|
||||||
# Add the header back in
|
# Add the header back in
|
||||||
sed -i "1i $header" $torrents_csv
|
sed -i "1i $header" $torrents_csv
|
||||||
truncate -s -1 $torrents_csv # Removing last newline
|
#truncate -s -1 $torrents_csv # Removing last newline
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue