I would like to have a trigger and when a particular file is accessed by some process, I would like to be notified (i.e. a script should be run). If I understand correctly, this could be achieved with inotify
.
I’m trying to find a way to immediately move a file to another folder as soon as it appears in my dropbox on CentOS.
Thanks sshfs
magic, I can mount my home dir from a remote server with
I have written a small ‘daemon’ in bash that will switch to the headphones if they are detected, and if not, switch to an external USB speaker with PulseAudio.