How do I find and replace a character when it is not one of the first 8 characters in the filename using prename?

前端 未结 0 1422
野性不改
野性不改 2020-12-31 12:57

This will for example replace all hyphens in a filename with a single space:

find . -type f -name "*-*" -execdir prename \'s/-/ /g\' "{}"          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题