LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   bash script to rename files removing one character (https://www.linuxquestions.org/questions/linux-newbie-8/bash-script-to-rename-files-removing-one-character-633927/)

Byenary 04-08-2008 09:31 AM

bash script to rename files removing one character
 
hello,

Got a bunch of files in a bunch of subdirs and they have the form
[456].pot ... [45668].pot
All i wanna do is get rid of the brackets.
Any suggestions.

Thx

unSpawn 04-08-2008 09:55 AM

If filename is "[45668].pot" then new filename could be "${filename//[\[\]]/}".

prad77 04-08-2008 10:12 AM

http://www.linuxquestions.org/questi...-help-631330/?

This is a similar kind. Hope it Helps.

Gentoo


All times are GMT -5. The time now is 01:54 PM.