I need the syntax how to handle special characters '[]' in a csh (or another) script. In my directory several files have string '[1]' in their filenames and I would like to rename them all with a script to remove '[1]' from filenames. (like 'mv filename[1].jpg filename.jpg')
I guess the backslash \ is the solution but I can't get it work in a script.
I guess the backslash \ is the solution but I can't get it work in a script.