Removing unknow chars from file names.

I'm trying to move a large folder to an external drive but some files have these weird chars that the external drive won't accept.

Does anyone know any command of any bash script that will look through a given folder and remove any weird chars?

What filesystem is this drive formatted with? What's "weird" is defined by that...

The external drive is in FAT32.

Some of the weird char are things like | and other special chars.

---------- Post updated 07-07-12 at 04:11 PM ---------- Previous update was 07-06-12 at 11:08 PM ----------

Does anyone know a string to find an remove special characters (excluding the period) from all file names in a folder recursively?

If you search the forums for "renaming files recursively", you may find useful information.

Regards,
Alister

Found it thank you for your help.