david mosher

personal and semi-professional opinions of a web designer and developer living in saskatoon, sk, canada

« Back to posts
  • Viewed
    times

Filed under

  • mac
  • nerd
  • terminal
October 27, 2009

Using the "sed" (stream editor) in mac os x terminal to bulk rename files based on pattern matching

  • Edit
  • Delete
  • Tags
  • Autopost
Screen_shot_2009-10-27_at_4

This is pretty useful, piping the results of the echo to the "sed" command which stands for "stream editor" and then iterating over things in a loop and batch renaming them. I could have renamed them manually, but this was more fun and I learned something :)

Tweet
  • 0 responses
  • Like
  • Comment