5

file rename

view full story
linux-howto

http://www.linuxforums.org – Good day. I am attempting to use the tool 'rename "regex-rule" files ' I have a group of files zzzzfpa.00nnnnnnnnnnn where n is any number. So I would like to get rid of the zzzz and leave the rest of the file name. Here is what I have tried rename -n 's/zzzz//' zzzzfpa* it returns nothing but if I do an ls zzzzfpa* it returns the thousands of files I have to rename. Thanks Allen (HowTos)