mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
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
|
* terminate client on bad data
|
||||||
* drop onto folders
|
* drop onto folders
|
||||||
* `os.copy_file_range` for up2k cloning
|
* `os.copy_file_range` for up2k cloning
|
||||||
|
* up2k partials ui
|
||||||
* support pillow-simd
|
* support pillow-simd
|
||||||
* cache sha512 chunks on client
|
* cache sha512 chunks on client
|
||||||
* comment field
|
* comment field
|
||||||
|
|
|
@ -3,6 +3,14 @@ echo not a script
|
||||||
exit 1
|
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
|
## create a test payload
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue