上一版PowerShell版本的莫名其妙的有些改不了:https://www.cnblogs.com/alfredsun/p/10124230.html

 

[Python]批量重命名,修改文件名中的部分字符串

 

 

更新一个Python版本:

import os
files = os.listdir(os.getcwd())
for file in files:
    os.rename(file,file.replace('FLAC','FLACx2'))

 

效果:

[Python]批量重命名,修改文件名中的部分字符串

 

相关文章:

  • 2021-10-10
  • 2021-10-26
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-27
  • 2022-12-23
  • 2021-05-29
  • 2021-04-22
  • 2021-12-13
  • 2021-11-29
  • 2021-12-30
相关资源
相似解决方案