Don't clobber old dumps so that we can just download the new ones.
This commit is contained in:
		
							parent
							
								
									592d2c7dda
								
							
						
					
					
						commit
						d05da6441f
					
				| @ -4,11 +4,11 @@ user_agent='nathante teblunthuis <nathante@uw.edu>' | |||||||
| output_dir='/gscratch/comdata/raw_data/reddit_dumps/submissions' | output_dir='/gscratch/comdata/raw_data/reddit_dumps/submissions' | ||||||
| base_url='https://files.pushshift.io/reddit/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*.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 $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 $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 $base_url/old_v1_data | 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 $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 $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 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user