Created
July 26, 2018 01:30
-
-
Save kazoo0217/a1341ed7bcc9b521e3031524efeefd55 to your computer and use it in GitHub Desktop.
ファイル名のみを拡張子ごとに並び替え、一覧でテキストに書き出し(濁点がおかしくなるのでnkfでフィルターしている)
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
#!/bin/bash | |
## ファイル名のみを拡張子ごとに並び替え、一覧でテキストに書き出し(濁点がおかしくなるのでnkfでフィルターしている) | |
ls -x1 | nkf -wLu --ic=UTF8-MAC > file-name.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment