I am using
ls | cut -c 5-
This does return a list of the file names in the format i want them, but doesn't actually perform the action. Please advise.
rename -n 's/.{5}(.*)/$1/' *
The -n
is for simulating; remove it to get the actual result.