I have always used Bash variable substitution chars (#, ##, %, %%) to rename files when replacing the beginning or end of a filename.
Now I have a need to replace the middle portion of filenames from their html code, '&', to 'and'. e.g. list of filenames Payables & Receivables Sales & Marketing Shipping & Receiving Normally, I would use something like, for i in '*&*'; do mv "$i" (this is where I'm stumped); done TIA! -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup
