Mass remove character from file names and folder names We have created a lot folders and files that contains the "&lt;" character. 

Is it possible to mass-remove these characters?
You can do this quite simply and quickly in Terminal:

cd /path/to/start/renaming

find . -name '*\&lt;*' | while read f; do echo mv "$f" "${f//\&lt;/}"; done


The command above is a "dry-run" of the command below:

find . -name '*\&lt;*' | while read f; do mv "$f" "${f//\&lt;/}"; done


This will remove any &lt; characters recursively on files and folders starting from the path you cd into initially.

Result:

mv ./&lt;folder&lt;test&lt;   ./foldertest
mv ./&lt;test3.txt      ./test3.txt
mv ./test2&lt;.txt      ./test2.txt
mv ./test&lt;test.txt   ./testtest.txt