Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
set -euo pipefail
mkdir -p tmp/overrides/webpack%3a/%2e
while true; do
while IFS= read -r -d '' override_file
file=$(echo "$override_file" | python -c 'import re, sys; print re.split("^tmp/overrides/webpack%3a/%2e/|%3f.*$",[1]')
cp -f "$override_file" "$file"
rm "$override_file"
echo "$file"
done < <(find tmp/overrides/webpack%3a/%2e -type f -print0)
sleep 0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.