Thomas
asked on
shell find and replace
Hi,
I am trying to to a seemingly easy task but seem to do it wrong. I wonder if someone can give me some assistance on this.
I simply like to find a file and replace it. I looked in google and there are several examples but it seems they are only concerned to rename extensions so somehow I can not make it work.
What I try to do is to rename the file ".something" to ".anything" across a specified directory and the sup directories within it.
I would be very happy if someone could assist me on what command to us. I run CentOS 6 Linux.
Best wishes,
thom
I am trying to to a seemingly easy task but seem to do it wrong. I wonder if someone can give me some assistance on this.
I simply like to find a file and replace it. I looked in google and there are several examples but it seems they are only concerned to rename extensions so somehow I can not make it work.
What I try to do is to rename the file ".something" to ".anything" across a specified directory and the sup directories within it.
I would be very happy if someone could assist me on what command to us. I run CentOS 6 Linux.
Best wishes,
thom
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER