Image 01
profile-image

qu9542

haiyan qu
moiso

Nautilus Scripts by skvitek 3 comments

thanks a lot for your script, but the install script doesn't work in Ubuntu 8.10.

In Ubuntu 8.10
file="$1"
will return the full path (e.g., /home/user/Desktop/xx.iso), and you don't want the folder name to be the full path, we only need the file name of the iso.

so it is better to extract on the file name instead of the full path.

file=${file%.$file_ext}
file=${file##*/}

- Jun 05 2009