Hey all I am attempting rename all files that match a certain pattern in B-shell. I am stuck on the syntax of the mv command to rename the file.
I am finding all the files like this and I know I have to pipe the output of this command into the mv command but just can’t figure it out. Here is the code and here is the mv command.
find . -iname "f????.a" -print0 | (some command that renames the files that have been found)
Any help on this is greatly appreciated.
1 Answer