I have a directory with files such as:
01-artist name-song name 1.mp3 02-artist name-song name 2.mp3 03-artist name-song name 3.mp3 etc.
I am looking for a loop command to rename the files, so they become:
01 - artist name - song name 1.mp3 02 - artist name - song name 2.mp3 03 - artist name - song name 3.mp3 etc.
Essentially, I need a whitespace to be inserted before and after every dash. Thank you for your help.
https://stackoverflow.com/questions/66501204/looking-for-a-bash-loop-command-to-rename-a-directory-of-files-inserting-a-whit March 06, 2021 at 08:24AM
没有评论:
发表评论