Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- search() {
- local d
- for d in *; do
- if [ -d "$d" ];
- then
- (cd "$d" && search)
- else
- echo "$(pwd)/$d"
- fi
- done
- }
- search
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement