Created
June 23, 2018 19:25
-
-
Save r-pufky/dd15f6a4db2ec1443ae634d1e27493d3 to your computer and use it in GitHub Desktop.
Get directory paths from a file listing (e.g. from find or file containing a list of paths)
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
sed 's|\(.*\)/.*|\1|' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment