Re removing hyphens from filenames

Matt Wilson codebrewery at
Thu Jul 12 13:10:16 BST 2007

On 7/12/07, Abigail <abigail at> wrote:
> for f in `find . -name '*-*'`; do mv $f `echo $f | tr -d -`; done

I generally avoid the use of `for' in operations such as this - you
never know when people have created files with spaces in the name.

More information about the mailing list