Created
November 11, 2019 02:16
-
-
Save shaneturner/98712b3ebb5943509dff98e00e81ed63 to your computer and use it in GitHub Desktop.
Linux list directories into file
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 -d */); do echo ${i%%/}; done > dirlist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment