Skip to content

Script that locks directories when a command is ran through it.

License

Notifications You must be signed in to change notification settings

xarinatan/Locker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Locker

Script that locks directories when a command is ran through it. Use it to make sure only one instance of something can be run in a directory at once, and remote kill it if an unwanted version is open somewhere else(requires the script to be used in some kind of networked storage or syncing).

This script is based on what I made for Firebox, with some slight modifications to make command line propagation work properly.

Examples of usage:

  • ./locker.sh firefox --profile localprofile --no-remote (make sure localprofile directory exists), this is basically what Firebox does.
  • ./locker.sh kwrite somedocument.txt If everyone runs through Locker you can make sure there's only one person editing the file

About

Script that locks directories when a command is ran through it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published