2018-07-20 【sh】拡張子のないファイルに一括で拡張子を追加する テクノロジー Androidのapkを逆コンパイルした時などメタデータの中でとりあえず画像ファイルだけ特定したかったので、 拡張子のないファイル群に.pngを付け、一覧から何のファイルか見ようと思いました。 しかしMacにはrenameコマンドが無いのでインストールする事に… brew install rename インストールしたら rename -v -n 's/^([^.]+)$/$1.png/' * で対象のディレクトリ配下のファイルを一括で付与すれば終わり、解析画像を確認して楽しみます。 Presented by「瑣末な問題」 https://blog.firenium.com/2021/02/22/selenium_webdriver_sleep/ https://blog.firenium.com/2021/02/23/android_studio_calls_installation_failed/ https://blog.firenium.com/2021/02/24/android_studio_uninstall_mac/ https://psy.firenium.com/2021/02/22/queue_psychology/