Skip to content

Instantly share code, notes, and snippets.

@danii
Created December 27, 2022 08:49
Show Gist options
  • Save danii/8e2a6172eb3468a03ed11f45685b70c6 to your computer and use it in GitHub Desktop.
Save danii/8e2a6172eb3468a03ed11f45685b70c6 to your computer and use it in GitHub Desktop.
a
# danii 2021 do not steal
FILE=$(realpath $1)
WD=$(mktemp -d)
cd $WD
printf '%s' "$WD"
split -b100000000 "$FILE" ./data
ls | xargs -P5 -I{} uploadr {};
rm -r $WD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment