All Projects → discoteq → Flock

discoteq / Flock

Licence: isc
flock(1) locks files

Programming Languages

c
50402 projects - #5 most used programming language

Labels

Projects that are alternatives of or similar to Flock

Instantwp
InstantWP is a complete standalone, portable WordPress development environment.
Stars: ✭ 83 (-34.65%)
Mutual labels:  portable
Githubdesktopportable
A portable build of GitHub Desktop packaged in compliance with the PortableApps.com format specifications.
Stars: ✭ 99 (-22.05%)
Mutual labels:  portable
Simple
The Simple Intelligent and Modular Programming Language and Environment
Stars: ✭ 120 (-5.51%)
Mutual labels:  portable
Jsonapiframework
JsonApiFramework is a fast, extensible, and portable .NET framework for the reading and writing of JSON API documents. Currently working on ApiFramework 1.0 which is a new framework that supports the many enhancements documented in the 2.0 milestone of this project while being media type agnostic but will support media types like {json:api} and GraphQL for serialization/deserialization purposes.
Stars: ✭ 85 (-33.07%)
Mutual labels:  portable
Zenroom
Small, secure and portable virtual machine for crypto language processing
Stars: ✭ 96 (-24.41%)
Mutual labels:  portable
Wolfboot
wolfBoot is a portable, OS-agnostic, secure bootloader for microcontrollers, supporting firmware authentication and firmware update mechanisms.
Stars: ✭ 110 (-13.39%)
Mutual labels:  portable
Tagha
Minimal, low-level, fast, and self-contained register-based bytecode virtual machine/runtime environment.
Stars: ✭ 79 (-37.8%)
Mutual labels:  portable
Yyjson
The fastest JSON library in C
Stars: ✭ 1,894 (+1391.34%)
Mutual labels:  portable
Aura Botnet
A super portable botnet framework with a Django-based C2 server. The client is written in C++, with alternate clients written in Rust, Bash, and Powershell.
Stars: ✭ 95 (-25.2%)
Mutual labels:  portable
Discord Portable
🚀 Discord portable for Windows
Stars: ✭ 118 (-7.09%)
Mutual labels:  portable
Dhewm3
dhewm 3 main repository
Stars: ✭ 1,261 (+892.91%)
Mutual labels:  portable
I2pdbrowser
i2pd browser bundle
Stars: ✭ 94 (-25.98%)
Mutual labels:  portable
Picotorrent
A tiny, hackable BitTorrent client.
Stars: ✭ 1,695 (+1234.65%)
Mutual labels:  portable
Tor Browser Portable
Portable version of the Tor Browser, for Windows
Stars: ✭ 84 (-33.86%)
Mutual labels:  portable
Hdl4fpga
VHDL library 4 FPGAs
Stars: ✭ 120 (-5.51%)
Mutual labels:  portable
Duality
a 2D Game Development Framework
Stars: ✭ 1,231 (+869.29%)
Mutual labels:  portable
Hasswp
Portable version of Home Assistant for Windows (no need to install)
Stars: ✭ 101 (-20.47%)
Mutual labels:  portable
Brackets Portable
Windows portable version of adobe brackets web development editor.
Stars: ✭ 124 (-2.36%)
Mutual labels:  portable
Signify
OpenBSD tool to signs and verify signatures on files. Portable version.
Stars: ✭ 122 (-3.94%)
Mutual labels:  portable
Hash Library
Portable C++ hashing library
Stars: ✭ 109 (-14.17%)
Mutual labels:  portable

flock(1)

flock(1) locks files

The simplest thing that could possibly work

To exclusively lock /tmp/my.lock while running the utility echo "hello, world!":

flock /tmp/my.lock echo "hello, world!"

You can also use to run a single instance of rsync at a time - note: no need to escape double quotes

flock -n /tmp/my-lock.lock rsync -avr -e "ssh -p 22" "~/my path with spaces/" [email protected]:/Documents/

Installing

Mac OS X Homebrew:

brew tap discoteq/discoteq
brew install flock

From source:

FLOCK_VERSION=0.4.0
wget https://github.com/discoteq/flock/releases/download/v${FLOCK_VERSION}/flock-${FLOCK_VERSION}.tar.xz
xz -dc flock-${FLOCK_VERSION}.tar.xz | tar -x
cd flock-${FLOCK_VERSION}
./configure
make
make install

Wait, isn't there already a flock(1)?

Yep, it's part of util-linux.

What makes discoteq flock(1) different is:

  • Support for latest stable Linux (Debian & CentOS), Illumos (OmniOS & SmartOS), Darwin & FreeBSD
  • Testing for all major features and edge conditions
  • ISC license
  • Public access to source history and bug tracking

Project Principles

  • Community: If a newbie has a bad time, it's a bug.
  • Software: Make it work, then make it right, then make it fast.
  • Technology: If it doesn't do a thing today, we can make it do it tomorrow.

Contributing

Got an idea? Something smell wrong? Cause you pain? Or lost seconds of your life you'll never get back?

All contributions are welcome: ideas, patches, documentation, bug reports, complaints, and even something you drew up on a napkin.

Programming is not a required skill. Whatever you've seen about open source and maintainers or community members saying "send patches or die" - you will not see that here.

It is more important to me that you are able to contribute.

Creating a new [email protected]), in IRC or however you can.

There's no wrong way to file a bug report, but I'll be able to help fastest if you can describe:

  • what you did
  • what you expected to happen
  • what actually happened

(Some of the above was repurposed with <3 from logstash)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].