æ¬çªä½æ¥åã«æ¢åãã¡ã¤ã«ããªãã¼ã ãã¦ããããªãã¦æã«ä¸ã¤ä¸ã¤ããã®ãé¢åãªã®ã§ãã¹ã¯ãªããã§ãµãã¯ãªã¨ã *.hogeã*.fooã«ãªãã¼ã ã for file in `find ./ -name "*.hoge" -print` do res=`expr $file : "\(.*\).hoge"` mv $file $res.foo done
{{#tags}}- {{label}}
{{/tags}}