http://qs1969.pair.com?node_id=825103


in reply to rename file extension

One thing I would change after correcting for the afore mentioned syntax error would be

... print(FHA "$new_filenname$new_ext\t$file\n"); ...
if you need to change one file name to another. Depending on what you need to do with the output, this will let you audit the change and only act on items that need a change. Good luck. -c