This example is from https://stackoverflow.com/questions/1086502/rename-multiple-files-in-unix. The question is how to replace a common name fragment in multiple files' names, for example to replace the fgh in file names fghfilea, fghfileb, fghfilec with jkl. rene fgh* jkl*
does this. The Unix shell is not specified but it likely is one that does globbing, which would require quoting of both the filter and replacement arguments unless rene is invoked by alias that disables globbing (just for rene). rene.doc tells how to do this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This example is from https://stackoverflow.com/questions/1086502/rename-multiple-files-in-unix. The question is how to replace a common name fragment in multiple files' names, for example to replace the fgh in file names fghfilea, fghfileb, fghfilec with jkl.
rene fgh* jkl*
does this. The Unix shell is not specified but it likely is one that does globbing, which would require quoting of both the filter and replacement arguments unless rene is invoked by alias that disables globbing (just for rene). rene.doc tells how to do this.