Advertising
- Ernz
- Friday, May 25th, 2007 at 11:16:38am UTC
- #!/bin/sh
- # http://g-scripts.sourceforge.net
- # Released into the public domain.
- #
- for arg
- do
- filetype=$(file "$arg")
- if [ "$filetype" == "filetype: Bourne shell script text executable" ]; then
- gdialog --title "Type 1" --msgbox "x $filetype x" 200 200;
- fi
- #elif [ $filetype != "Hello" ]; then
- # gdialog --title "Type 2" --msgbox "Type 2: $filetype" 200 200
- #alien $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS
- #gdialog --title "rpm2deb" --msgbox "The file '$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS' has been converted to a Debian installer in the same directory" 200 200
- done
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.