0
votes
1answer
1k 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
948 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 ...
0
votes
0answers
16 views

Is there any way to auto start a hardware encrypted SafeXs USB? [duplicate]

I recently aquired a cross platform hardware encrypted SafeXs USB key. To mount it on Ubuntu I have to do the following steps. Open a terminal and go to the device login volume (usually mounted in ...
64
votes
5answers
124k 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 ...
33
votes
9answers
59k 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 ...
14
votes
2answers
10k 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?
6
votes
1answer
4k views

How do I run a script on a dbus signal?

Is it possible to run a script on an arbitrary dbus signal? Something like Upstart that runs as an unprivileged user and doesn't require root perms to modify? I ask because I've already written a ...
9
votes
2answers
5k 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
2answers
1k 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 ...
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 ...
1
vote
3answers
908 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 ...
1
vote
1answer
758 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
1answer
511 views

Symbolic links lost after restart

I have been working on setting up some symbolic links so that I can easily access directories and files on another internal hard drive. When I create the links they work well, but every time that I ...
1
vote
1answer
458 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 ...
2
votes
2answers
352 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 ...

15 30 50 per page