I have a folder containing many files with format
I want to change all of them into
I write a script as follows. Based on the screen output the filename is
changed. But I go to the same folder and find the original file
LIPID5-2.001 is still there and there is no file called LIPID5-3.001.
Dir.entries(path).each do |filename|
Exit code: 0