LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 06-11-2007, 04:14 AM   #1
Registered: Sep 2003
Location: Milano, Italy
Distribution: Slackware
Posts: 56

Rep: Reputation: 15
Execute script automatically on mount

Hi all.
I've a little question.
There is a way to execute automatically a script (or a command or, else, to start an application) when I plug in my USB key?
I would execute a backup script every time I insert my key.
Tanks in advance
Old 06-11-2007, 09:54 PM   #2
Senior Member
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
If you're running Ubuntu, check out the Removable Drives & Media Preferences. Settings are quite as flexible for removable storage as for media with an identifiable purpose but you can do more than what was configured by default.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cron job to execute automatically lifegamer Linux - Newbie 2 09-16-2006 09:35 AM
How to automatically execute a command (TrueCrypt) on mount cbonar Linux - General 2 08-27-2006 11:42 AM
CRON Process Won't Execute Automatically Transition Linux - General 5 01-14-2005 04:51 PM
execute php script automatically? brandnewbie Linux - Newbie 1 08-14-2004 06:42 AM
how to execute automatically a program/script after login mule Linux - General 8 12-13-2003 03:44 PM

All times are GMT -5. The time now is 05:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration