Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- for file in *
- do
- if [ -f $file ]; then
- echo "File: $file"
- else
- echo "Folder: $file"
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement