From ce2dfca987191e896e8a154acfa326d2a3a084ad Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 15 Oct 2018 14:02:47 -0700 Subject: [PATCH] Adding some torrents. --- scripts/add_torrents.sh | 2 +- scripts/prune.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/add_torrents.sh b/scripts/add_torrents.sh index b0dc67b..ea70511 100755 --- a/scripts/add_torrents.sh +++ b/scripts/add_torrents.sh @@ -90,7 +90,7 @@ for torrent_file in *.torrent; do # Append the add lines to the torrents.csv file 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" else echo -e "$name has no seeders." diff --git a/scripts/prune.sh b/scripts/prune.sh index 3bb78fb..f97bcf5 100755 --- a/scripts/prune.sh +++ b/scripts/prune.sh @@ -21,6 +21,6 @@ sort --field-separator=';' --key=5 -nr -o $torrents_csv $torrents_csv # Add the header back in sed -i "1i $header" $torrents_csv -truncate -s -1 $torrents_csv # Removing last newline +#truncate -s -1 $torrents_csv # Removing last newline