published
updated
percent-within-bracket construct removes characters off the end. hash-within-bracket construct that strips characters off the beginning.
for file in *.html
do
mv "$file" "${file%.html}.txt"
done
for file in *.html
do
mv "$file" "vimwiki${file#Writing/}.txt"
done