Find & Replace

view full story

http://www.unix.com – Hi I am looking to rename the contents of this dir, each one with a new timestamp, interval of a second for each so it the existing format is on lhs and what I want is to rename each of these to what is on rhs..hopefully it nake sense Code: CDR.20060505.150006.gb    CDR.20121211.191500.gb CDR.20060505.150109.gb    CDR.20121211.191501.gb CDR.20060505.150216.gb    CDR.20121211.191502.gb CDR.20060505.150308.gb    CDR.20121211.191503.gb Hopefully this makes sense. I know I need to utilise a sed command in conjunction with some sort of loop (HowTos)