Last active
November 26, 2015 13:04
-
-
Save samisalkosuo/bc44db9ec45f63d64df8 to your computer and use it in GitHub Desktop.
LS files in dir with full path. http://rnd-dev.com/ls-files-with-full-path/
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
#!/usr/bin/env bash | |
if [[ "$1" != "" ]] ; then | |
cd $1 | |
fi | |
ls -1 | sed "s;^;$(pwd)/;" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment