Created
August 4, 2014 00:55
-
-
Save metasansana/107132f1920cb5a1d7cc to your computer and use it in GitHub Desktop.
Make directories based on the files in a folder (excluding the extensions).
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
for i in $(ls | cut -d "." --complement -f2- ); do mkdir $i; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment