You are not logged in.

#1 2005-10-17 18:27:14

Clanman
Member
Registered: 2005-02-08
Posts: 35

Rox sendto scripts

Hi
These are two simple scripts I use with ROX "send to" menu.
All they do is mount resp. umount a imagefile to /mnt/img when you rightclick the file and choose sendto.  It should work for ISO files too I think. I haven't tested that.

These scripts requires that you add this to your /etc/sudoers file

your_username ALL=NOPASSWD: /bin/mount,/bin/umount

Use visudo to edit the file

Mount IMG

#!/bin/bash
sudo mount $1 /mnt/img -o loop

It took me some time to find the $1 variabel name

Umount IMG

#!/bin/bash
sudo umount /mnt/img

As I said very simple scripts but they are my first (not last) and I think they are usefull so therefor I share them with you.

//Clanman

Offline

Board footer

Powered by FluxBB