# open file(s) doing the action approprate for that content type. # This action can be modified in the file manager, by right-clicking # on a file and changing its "Properties" # by N. Manini v. 2.1, 8/05/2020 case $# in 0) echo "please add the name of at least one file or URL to be opened!";; *) for i do if test -e "$i" then gio open "$i" else echo "$i : file not found" >/dev/stderr fi done esac