mwh / fiss Goto Github PK
View Code? Open in Web Editor NEWinotify file server synchroniser
License: GNU General Public License v3.0
inotify file server synchroniser
License: GNU General Public License v3.0
fiss, the inotify file server synchroniser fiss monitors a directory tree and pushes changed files out to a server after a delay. The program has two main purposes: to automate remote backups, and to push changes to a local copy immediately to the server during web development. The basic usage is: fiss /local/path server:destpath/ By default, fiss will push a changed file if it has not changed again for 60 seconds, or if it changed more than five minutes ago and hasn't been synchronised since then. The -d N and -D N options change these respectively. A value of zero will cause immediate push, which is what you want for the web development case. fiss supports multiple synchronisation mechanisms. The default is rsync, and dest is passed as-is to the rsync client, and scp is available with the --scp option. There is also the ability to trigger a custom command: with --custom, the destination is treated as a pattern for a shell command invocation (with system). An instance of "#p" in the pattern will be replaced with the changed file's path. Neither rsync nor scp supports deleting individual files, so fiss also provides a --delete-cmd CMD option. The CMD is run with system and subject to the same expansion as a custom command, with the following expansions: #p local file path #d destination as given #h part of destination before first : #r part of destination after first : Each deleted file is processed individually. The --delete option must be passed to enable file deletion for a destination (--no-delete to disable). File paths can be skipped by glob patterns given with the --skip option. Each --skip is checked with fnmatch(2) for each path, and any matches are not processed further. The default configuration skips files that look like editor backups, matching *~ or #*#. Use --clear-skips to erase the list of skipped patterns. Multiple destinations can be provided. Each inherits the settings most recently given on the command line. Destinations may have different timeouts, types, commands, and skip settings. By default, fiss will fork into the background. Pass the -f option to keep it in the foreground and output descriptive data. fiss is distributed under the GNU GPL 3 or later (see LICENCE). It currently depends on inotify, which probably makes it Linux-only, but it should be possible to make it work with equivalent systems on other platforms (patches welcome!).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.