Linked Questions

0
votes
1answer
447 views

Run a command after a specific USB was plugged in [duplicate]

I want my usb to run a command or a script --like autorun-- when it is plugged in. I've also searching and found out that autorun was not present because of some security reason(s). How do you run a ...
4
votes
0answers
940 views

Run script AFTER automounting usb hdd (udev, mount --bind) [duplicate]

Possible Duplicate: How to run a script when a distinct flash-drive is mounted? When plugging-in my USB HDD, it is mounted automatically, as expected. After that event, I'd like to ...
38
votes
4answers
50k views

Running programs in the background from terminal

How do I run a program in the background of a shell, with the ability to close the shell while leaving the program running? Lets say my UI is having problems or for some reason, I need to boot up a ...
19
votes
8answers
30k views

How to do a one way synchronization between folders?

I want to do one way synchronization. I am having Folder A on my computer which is constantly updated with content. Another Folder B is used for backup purpose which is on external HDD. Now what I ...
9
votes
2answers
4k views

Automatically sync a folder to a USB when USB is plugged in?

Is there a way to sync a folder to an USB drive when the drive is plugged in? I'd like it to sync, or copy over changes, both ways. I've seen the Back In Time and Unison-GTK applications, but I'd like ...
7
votes
2answers
2k views

Autorun a script after I plugged or unplugged a USB device

What can I do to run automatically a script after I mount/plugin or unmount/unplug a USB device?
0
votes
1answer
618 views

Mount external harddrive and one of its subfolders from fstab

I'm currently mounting my external harddrive using the following entry in /etc/fstab: UUID=12C23AD8C23AC031 /media/MyBook ntfs-3g auto,users,exec,rw,nobootwait,iocharset=utf8,uid=1000,gid=1000 0 0 ...
1
vote
1answer
381 views

Auto-run script when iPad plugged in

The way that Ubuntu handles documents on the iPad is awesome (without any configuration required). It beats windows, even with iTunes installed. I want to have the documents in certain iPad apps ...
0
votes
1answer
378 views

WD Elements 1042 External Will not work

I'm trying to get all my data at this point. Any help? Once and a while it will mount but cant get data off quickly. Error Message: Error mounting /dev/sdb1 at /media/ubuntu/Elements: Command-line ...
1
vote
1answer
176 views

Can upstart script be triggered by a device attached?

How should I specify the "start on" condition to run an upstart script when a device (an external disk) is attached?
1
vote
0answers
131 views

How to trigger anacron start if USB drive connected

There is a script in /usr/lib/pm-utils/power.d/anacron which restarts anacron if leptops are connected to power. Is it possible to have a similar script restart anacron if (a certain) USB-drive is ...
2
votes
2answers
100 views

Run a script on detecting modem

My problem is I am not able to run script automaticlly when modem is connected. I need a code to be run when my modem is detected. I am having a photon modem and I am using sakis3g script to connect ...
0
votes
0answers
43 views

Execute script automaticaly when removable media mounted

I would like to execute some script automatically when removable media (e.g. USB flash memory) mounted. It likes autoexec.bat on Microsoft Windows. How can I realize it? In existing question (and ...