flock
Verified for current stable LTS
Flock Commands
Flock command syntax with verified terminal examples.
Commands
5 commands for Flock
flock Archive
Flock Command: Backup Files Waiting For Previous Tar To Finish
flock <path/to/backup.lock> <tar -cvf path/to/backup.tar path/to/data/> flock Operations
Flock Command: Run Command With File Lock As Available
flock <path/to/lock.lock> <command> flock Operations
Flock Command: Run Command With File Lock Or Exit If Held
flock -n <path/to/lock.lock> <command> flock Operations
Flock Command: Run Command With File Lock Or Exit With Specific Code If Held
flock -n -E <123> <path/to/lock.lock> <command> flock Operations
Flock Command: Run Command With File Lock Waiting Up To 10 Seconds
flock -w 10 <path/to/lock.lock> <command> Suggest a Flock Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Flock workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.