Created
September 14, 2015 17:48
-
-
Save jcpst/e835ad986ef5505a4e40 to your computer and use it in GitHub Desktop.
Bash: directories of a directory in an array
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 -d */ | sed 's/\/*$//' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment