Skip to main content
5 of 7
added 8 characters in body
Michael Durrant
  • 43.7k
  • 73
  • 176
  • 237

You could try:

find . -inum 12321475 -exec mv {} new-filename \;

or

find . -inum 12321475 | xargs -0 -print0 mv -t new-filename

Generally I prefer xargs over exec. Google for why. It's tricky though. See find -exec + vs find | xargs: which one to choose?

Michael Durrant
  • 43.7k
  • 73
  • 176
  • 237