8 Jun
2007
8 Jun
'07
11:38 a.m.
On Fri, Jun 08, 2007 at 12:24:04PM +0100, Chris G wrote:
The actual command I want to execute is:-
find info -name '*.txt' -exec mv `basename {} .txt`.rst \;
to change the .txt suffix to .rst.
How about this instead... find info -name '*.txt' -print0 | xargs -0 rename 's/.txt$/.rst/;' -- Brett Parker