たとえば、次のファイルがあります。
/Applications/Emacs.app/Contents/Resources/etc/images/custom/README
/Applications/Emacs.app/Contents/Resources/etc/images/ezimage/README
/Applications/Emacs.app/Contents/Resources/etc/images/gnus/README
/Applications/Emacs.app/Contents/Resources/etc/images/gud/README
/Applications/Emacs.app/Contents/Resources/etc/images/icons/README
それらをすべて集めて、1つのディレクトリに別の名前で保存したいので、次のようになります。
/dest/custom_README
/dest/ezimage_README
/dest/gnus_README
/dest/gud_README
/dest/icons_README
私は知っfind
ていて、この仕事をするのに役立つかもしれませんが、ディレクトリ名に従ってステップxargs
を実行する方法がわかりません。rename
誰かがこれについてアイデアを持っていますか? ありがとう!