mention howto purge partial uploads
This commit is contained in:
		
							parent
							
								
									69b83dfdc4
								
							
						
					
					
						commit
						116b2351b0
					
				| @ -142,6 +142,7 @@ roughly sorted by priority | ||||
|   * terminate client on bad data | ||||
| * drop onto folders | ||||
| * `os.copy_file_range` for up2k cloning | ||||
| * up2k partials ui | ||||
| * support pillow-simd | ||||
| * cache sha512 chunks on client | ||||
| * comment field | ||||
|  | ||||
| @ -3,6 +3,14 @@ echo not a script | ||||
| exit 1 | ||||
| 
 | ||||
| 
 | ||||
| ## | ||||
| ## delete all partial uploads | ||||
| ##  (supports linux/macos, probably windows+msys2) | ||||
| 
 | ||||
| gzip -d < .hist/up2k.snap | jq -r '.[].tnam' | while IFS= read -r f; do rm -f -- "$f"; done | ||||
| gzip -d < .hist/up2k.snap | jq -r '.[].name' | while IFS= read -r f; do wc -c -- "$f" | grep -qiE '^[^0-9a-z]*0' & rm -f -- "$f"; done | ||||
| 
 | ||||
| 
 | ||||
| ## | ||||
| ## create a test payload | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 ed
						ed