I used a script that renamed my file eg 'echo webutil.olb | tr [A-Z] [a-z]' i wanted to rename it back to webutil.olb. How do i do this for many other files that i have
feedback
|
|
Debian | |||
feedback
|
|
Assuming that the files got renamed with the extra strings, this would probably help:
This will rename, for example, a file named literally "echo webutil.olb | tr [A-Z] [a-z]" to be named "webutil.olb" and will work for other files similarly named. It expects the wanted names to be between a space and a space followed by a pipe. | |||
|
feedback
|
|
For your example, In general, you can't do this, since you lose the information about case. For example, the filename "webutil.olb" might come from applying tr to "WebUtil.olb" or "WEBUTIL.olb". | |||
|
feedback
|