summaryrefslogtreecommitdiff
path: root/urlescape
blob: 413e7e3b5f611af0896bd587c201fded1dfd24e1 (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/env bash
for f in ./static/assets/*; do
    g="$(echo "$f" | sed "s@+@ @g;s@%@\\\\x@g" | xargs -0 printf "%b")"
    if [ "$f" != "$g" ]; then
        echo mv "$f" "$g"
        mv "$f" "$g"
    fi
done