Created
June 12, 2012 21:36
-
-
Save quickredfox/2920297 to your computer and use it in GitHub Desktop.
list files and directories with absolute paths in linux/unix/osx terminal
This file contains hidden or 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
# Use this for dirs: | |
ls -d -1 $PWD/** | |
# this for files: | |
ls -d -1 $PWD/*.* | |
# this for everything: | |
ls -d -1 $PWD/**/* | |
# Taken from here http://www.zsh.org/mla/users/2002/msg00033.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment