Chris G cl@isbd.net wrote:
find info -name '*.txt' -exec echo `basename {} .txt` \;
I think the backticks are run by the shell before find.
Try:
find info -name '*.txt' | while read filename ; do mv -v "$filename" "${filename/%.txt/.rst}" done
Hope that helps,