Advertisement
Guest User

Untitled

a guest
Mar 7th, 2015
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.25 KB | None | 0 0
  1. function pfind () {
  2.     dir=$1 terminfo=$(echo -e "\033[0;36m") nc=$(echo -e "\033[0m")
  3.     find "${dir:-.}" -type f | sed -ne 'h;s,[^/]\+$,'"$terminfo&$nc"',;p;s,.*,.* +a,;' \
  4.                                    -ne 'y;^\t.*cyan+;terminfo-;;G;s;\n; ;e'
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement