Find all files in the directory "dirname" that contain two digits next to each other, and replace them with the digits reversed, using the "sed" command.
grep -lrZz '\d.*\d' dirname | xargs -0 sed -i 's/\([0-9][0-9]\)\([0-9][0-9]\)/\2\1/g'