Last active
November 2, 2017 05:23
-
-
Save carrotsword/4902b813a6244ddbc7dcc6bf64c737ed to your computer and use it in GitHub Desktop.
sort で並ぶようにお願いします
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 | sed -e s/\.zip// | awk '{print $1 ".zip " $1 ".x"}' | sed -e s/autumn\.x/09_autumn.zip/ | sed -e s/winter\.x/12_winter.zip/ | sed -e s/summer\.x/08_summer.zip/ | sed -e s/spring\.x/04_spring.zip/ | xargs -n 2 mv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment