Bash script to change file extension using regex -


I have a lot of files that I have copied from my iPhone file system, along with starting MP3 files, but app on iphone changed their name to a random employee which looks like:

1c03e04cc1bbfcb0c1237f57f1d0ae2e.mp3 additional = f7NhT68pNkmEbGA_I1WbVShXQ2E2gJAGBKSEyh3hf0hsbLB1cqnXDuepYA5ubcFm_B3KSsrXDuKVtWVAUh_MAPeFiEHXVdg

I have only part of the file name after mp3 Need to remove? Please give me a script - more than 600 files, and manually it is impossible

You command Can rename:

  rename "s / mp3 \ *. * / Mp3 /" * .mp3 *  

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -