From: Nate E TeBlunthuis Date: Fri, 3 Jul 2020 17:40:43 +0000 (-0700) Subject: Don't clobber old dumps so that we can just download the new ones. X-Git-Url: https://code.communitydata.science/cdsc_reddit.git/commitdiff_plain/d05da6441f85b938b65bd47655602d2569f091b6?hp=592d2c7ddab8ffc8aee7c224ed18d71752a9b005 Don't clobber old dumps so that we can just download the new ones. --- 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