getlock

A simple and easy to use command-line file locking program for Linux and UNIX OSes

description

download

specifications

changelog

Getlock is an open source, simple and free command-line file locking application, which can lock one or more lockfiles, and then run a shell command.

getlock features several advanced options, allowing users to just lock files, to run a command when it can't lock the file, to kill off the current holder of the lockfile, etc. Below we've listed some examples of use, courtesy of the project's home page: