From d05da6441f85b938b65bd47655602d2569f091b6 Mon Sep 17 00:00:00 2001 From: Nate E TeBlunthuis Date: Fri, 3 Jul 2020 10:40:43 -0700 Subject: [PATCH] Don't clobber old dumps so that we can just download the new ones. --- pull_pushift_submissions.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pull_pushift_submissions.sh b/pull_pushift_submissions.sh index addc01c..f704435 100755 --- a/pull_pushift_submissions.sh +++ b/pull_pushift_submissions.sh @@ -4,11 +4,11 @@ user_agent='nathante teblunthuis ' output_dir='/gscratch/comdata/raw_data/reddit_dumps/submissions' base_url='https://files.pushshift.io/reddit/submissions/' -wget -r --no-parent -A 'RS_20*.bz2' -U $user_agent -P $output_dir -nd $base_url -wget -r --no-parent -A 'RS_20*.xz' -U $user_agent -P $output_dir -nd $base_url -wget -r --no-parent -A 'RS_20*.zst' -U $user_agent -P $output_dir -nd $base_url -wget -r --no-parent -A 'RS_20*.bz2' -U $user_agent -P $output_dir -nd $base_url/old_v1_data -wget -r --no-parent -A 'RS_20*.xz' -U $user_agent -P $output_dir -nd $base_url/old_v1_data -wget -r --no-parent -A 'RS_20*.zst' -U $user_agent -P $output_dir -nd $base_url/old_v1_data +wget -r --no-parent -A 'RS_20*.bz2' -U $user_agent -P $output_dir -nd -nc $base_url +wget -r --no-parent -A 'RS_20*.xz' -U $user_agent -P $output_dir -nd -nc $base_url +wget -r --no-parent -A 'RS_20*.zst' -U $user_agent -P $output_dir -nd -nc $base_url +wget -r --no-parent -A 'RS_20*.bz2' -U $user_agent -P $output_dir -nd -nc $base_url/old_v1_data +wget -r --no-parent -A 'RS_20*.xz' -U $user_agent -P $output_dir -nd -nc $base_url/old_v1_data +wget -r --no-parent -A 'RS_20*.zst' -U $user_agent -P $output_dir -nd -nc $base_url/old_v1_data -- 2.39.5