These are my links for 7 ago 2014 through 17 ago 2014:
- jordansissel/fpm – Effing package management! Build packages for multiple platforms (deb, rpm, etc) with great ease and sanity.
- Linux incrond inotify: Monitor Directories For Changes And Take Action – I want to copy (rsync to remote server) a directory tree whenever file uploaded or deleted in /var/www/html/upload/ directory under Linux operating systems for backup purpose and/or load balancing purpose without getting into complex file sharing setup such as NFS or GFS iscsi storage. How do I monitor /var/www/html/upload/ and its subdirectory for new files and executes rsync command to make copy back to www2.example.com:/var/www/html/upload/? inotify is an inode-based filesystem notification technology. It provides possibility to simply monitor various events on files in filesystems. It is a very much powerful replacement of (obsolete) dnotify. inotify brings a comfortable way how to manage files used in your applications. The incrond (inotify cron daemon) is a daemon which monitors filesystem events (such as add a new file, delete a file and so on) and executes commands or shell scripts. It’s use is generally similar to cron.
- Use incron to Trigger Action when File Changes – There are some situations, when you need to start an action or run a command when a given file has changed in your file system. The real life example I have is as follows: I have a git repository, from where I manage this blog, I have a remote branch of it on the same server, from where Nginx serves this pages. I also have another remote branch in my Macbook Pro (With the correspondent Time Machine backup). But, I’m a paranoid guy, so I just want more backups. I decided I wanted to backup all my blog files to my Dropbox account.