ex] for FILE in *.cgi do mv "$FILE" "`echo $FILE | sed 's/.cgi$/.txt/'`" done 이렇게 쓰면 됩니다. :)--from [ke'izi] : where is [r]?