Last active
December 9, 2024 07:14
-
-
Save hidsh/b6a4c11a098188bb51a75a7d6eeb78ba to your computer and use it in GitHub Desktop.
linux: renameコマンドなんてあったんや…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ls -1 | |
bat43.keymap | |
bat43.overlay | |
bat43.zmk.yml | |
Kconfig.defconfig | |
Kconfig.shield | |
$rename -n -v bat43 rat43 bat43* # dry run | |
`bat43.keymap' -> `rat43.keymap' | |
`bat43.overlay' -> `rat43.overlay' | |
`bat43.zmk.yml' -> `rat43.zmk.yml' | |
$rename bat43 rat43 bat43* # rename bat43* --> rat43* | |
$ls -1 | |
Kconfig.defconfig | |
Kconfig.shield | |
rat43.keymap # <--!!! | |
rat43.overlay # <--!!! | |
rat43.zmk.yml # <--!!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment