/ Published in: Bash

Execute on the command line. Assumes all files are in the current directory; does not recurse into subdirectories. Replace "*.html" with correct search term for your situation; replace "FS-" with the leading text you wish to remove. This example removes the text FS- from all files which end in .html
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
for i in *.html; do mv "$i" ${i##FS-}; done;
Comments
