String replacement for all files in directory
Rashkae
ubuntu at tigershaunt.com
Sat Nov 29 02:28:02 UTC 2008
Kipton Moravec wrote:
> How do I do a simple string replacement of one string with another
> string in all files in a directory?
>
> For example:
>
> I have 1200 files in a directory. Wherever I see the string
> "footprint=0603C" in any of the files (may occur 0 or multiple times) I
> want to replace with "footprint=CAPC0603N"
>
> I do not know how to figure out what command to use so I can look it up.
>
> Kip
prename and/or rename.ul
More information about the ubuntu-users
mailing list