Skip to content
Fauxzen
  • About
  • My Setup

Mass Rename

November 17, 2015July 3, 2005 - 1 minute read.

This is just a little note to myself on how to rename files via the Linux command line. This sample will rename .php3 -> .php ….

ls -d *.php3 | sed ‘s/\(.*\).php3$/mv “&” “\1.php”/’ | sh

Share this post:

Share on Twitter Share on Facebook Share on Reddit Share on LinkedIn Share on Email
Categories Linux
Post navigation
Ohh My…
Digg and CSS Overload
© 2005 - 2022 Shelby DeNike
*Links on this site may contain affiliate referral links.

  • About
  • My Setup