Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- read file < <( zenity --title "Current Directory" --width=560 --text "Choose Any .tgz, .tar.gz , Or .tar File" --forms --text "<b>$(\ls *.tgz) \n$(\ls *.tar.gz) \n$(\ls *.tar)</b>" --add-entry "Choice:" | tr -d "|" )
- tar --list -f $file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement