Revision: 33634
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 11, 2010 11:11 by powerthru
Initial Code
for i in *.html; do mv "$i" ${i##FS-}; done;
Initial URL
Initial Description
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
Initial Title
strip leading text from all filenames in a directory
Initial Tags
directory
Initial Language
Bash