Linked Questions

0
votes
1answer
714 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
942 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 ...
51
votes
5answers
83k 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 ...
24
votes
9answers
41k 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 ...
12
votes
2answers
5k 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?
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 ...
0
votes
1answer
1k 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 ...
0
votes
2answers
997 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
421 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 ...
1
vote
1answer
397 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?
2
votes
2answers
212 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 ...
1
vote
0answers
202 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 ...
1
vote
3answers
190 views

External Hard Drive sync

I was wondering whether there's a mechanism to sync two external hard drives, so that the files are updated both ways (and they end up containing the exact same information). Ideally it could run ...

15 30 50 per page