recursively add file extension to all files

Posted by seengee on Stack Overflow See other posts from Stack Overflow or by seengee
Published on 2009-07-10T09:04:58Z Indexed on 2010/03/24 14:33 UTC
Read the original article Hit count: 246

Filed under:
|
|
|
|

I have a few directories and sub-directories containing files with no file extension. I want to add .jpg to all the files contained within these directories. I have seen bash scripts for changing the file extension but not for just adding one. It also needs to be recursive, can someone help please?

© Stack Overflow or respective owner

Related posts about bash

Related posts about command-line