Adding some torrents.

This commit is contained in:
Dessalines 2018-10-15 14:02:47 -07:00
parent d67ac6f1b4
commit ce2dfca987
2 changed files with 2 additions and 2 deletions

View File

@ -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."

View File

@ -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