I would like to rename multiple folders of files from
Blackmagic Cinema Camera_1_2013-12-06_2248_C0001_000000.dng
…
Blackmagic Cinema Camera_1_2013-12-06_2248_C0001_000322.dng
to
0.dng
…
322.dng
So in fact from 0 to xxxx (for safety get to 5 digits if necessary)
I am really new to the terminal tool (on mac osx 10.8) and cannot do the dumbest thing with it, I just know it's the most reliable way to do it, and as they are quite precious files for a project I'm not that keen on using a regular rename application that may do I don't know what slightly more than just rename those files, I just want them to be as pure as they are with the names changed.
So I read many stuff on here but as I know absolutely nothing about any command I can't interpret what was listed on the numerous topics on how to rename as they don't exactly apply to what I want to do. So if you could guys explain to me things as dumb as I am for it to be simple and comprehensible (what has to be explained, actually I just want something to work, not a class), would be great. This forum seems to have good answers quickly, seems all nice
Ah, btw, I would actually run that for a single file first (as a try) and after use it for all the folders of these like-named files. So it's like
Blackmagic Cinema Camera_1_2013-12-06_2321_C0005
…
Blackmagic Cinema Camera_1_2013-12-06_2327_C0000
for the folders names, each one containing a pile of files named like stated in the first part of this message. so i guess it would need something to apply to all folders of a chosen folder, as there are numerous ones.
(ah, when I say i'm the dumbest guy about it : I can understand, but just have no clue on this stuff, so if you could even tell me how to get to that file/folder/directory etc. whatever be needed to complete it for someone knowing 0)
Thanks in advance, very much !