wendy, branch HEAD
watch files/directories and run commands on any event
9bc6056d29d2737bf9dd227cbf9d353f6920b246
2026-06-05T10:48:38Z
2026-06-05T10:48:38Z
Read directories for recursion rather then relying on IN_CREATE
Willy Goiffon
dev@z3bra.org
commit 9bc6056d29d2737bf9dd227cbf9d353f6920b246
parent 6fac88c2ff681e58bbbe26fb886f3b077c32686b
Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 5 Jun 2026 10:48:38 +0000
Read directories for recursion rather then relying on IN_CREATE
Relying on IN_CREATE events only to recursively add watchers is unreliable.
A Race condition can happen where subdirectories are created before a
watch can be added onto the directory (eg with mkdir -p a/b/c), leading
in the subtree not being watched for.
This patch actually reads new directory content on IN_CREATE events to
watch all entries already present.
6fac88c2ff681e58bbbe26fb886f3b077c32686b
2020-09-03T10:10:42Z
2020-09-03T10:10:42Z
Add an option to clear the screen on each event
Willy Goiffon
dev@z3bra.org
commit 6fac88c2ff681e58bbbe26fb886f3b077c32686b
parent cf3c4f87d5a603669c5c64380f7d2f1e2044dfa8
Author: Willy Goiffon <dev@z3bra.org>
Date: Thu, 3 Sep 2020 12:10:42 +0200
Add an option to clear the screen on each event
cf3c4f87d5a603669c5c64380f7d2f1e2044dfa8
2020-06-02T11:21:22Z
2020-06-02T11:21:22Z
Fix a few warnings
Willy Goiffon
dev@z3bra.org
commit cf3c4f87d5a603669c5c64380f7d2f1e2044dfa8
parent c94f1359dea6f5e56f9e1347678763e9d89b6a08
Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 2 Jun 2020 13:21:22 +0200
Fix a few warnings
c94f1359dea6f5e56f9e1347678763e9d89b6a08
2020-06-02T11:20:56Z
2020-06-02T11:20:56Z
Add mkfile for compilation with plan9 mk
Willy Goiffon
dev@z3bra.org
commit c94f1359dea6f5e56f9e1347678763e9d89b6a08
parent 8ef956bb297a809a41991b3cac517f8010483985
Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 2 Jun 2020 13:20:56 +0200
Add mkfile for compilation with plan9 mk
8ef956bb297a809a41991b3cac517f8010483985
2020-06-02T11:20:29Z
2020-06-02T11:20:29Z
Rename MANDIR to MANPREFIX
Willy Goiffon
dev@z3bra.org
commit 8ef956bb297a809a41991b3cac517f8010483985
parent 575e6082eb247c946b49a2b90a622e3241326f82
Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 2 Jun 2020 13:20:29 +0200
Rename MANDIR to MANPREFIX
575e6082eb247c946b49a2b90a622e3241326f82
2020-06-02T09:01:22Z
2020-06-02T09:01:22Z
Provide more meaningful examples in the manpage
Willy Goiffon
dev@z3bra.org
commit 575e6082eb247c946b49a2b90a622e3241326f82
parent 2c69802f83c5a98433d4253c3fa9bf8eadfb6daa
Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 2 Jun 2020 11:01:22 +0200
Provide more meaningful examples in the manpage
2c69802f83c5a98433d4253c3fa9bf8eadfb6daa
2020-06-02T08:44:32Z
2020-06-02T08:44:32Z
Fix off-by-one error to remove trailing "/"
Willy Goiffon
dev@z3bra.org
commit 2c69802f83c5a98433d4253c3fa9bf8eadfb6daa
parent 5d2f4dcb32981d7ff60a82b5b192ad53b2c7cc40
Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 2 Jun 2020 10:44:32 +0200
Fix off-by-one error to remove trailing "/"
5d2f4dcb32981d7ff60a82b5b192ad53b2c7cc40
2020-06-02T08:06:51Z
2020-06-02T08:06:51Z
Provide better explanations in the README
Willy Goiffon
dev@z3bra.org
commit 5d2f4dcb32981d7ff60a82b5b192ad53b2c7cc40
parent 957c69dd673f38ee1a3504319d30383e8034294e
Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 2 Jun 2020 10:06:51 +0200
Provide better explanations in the README
957c69dd673f38ee1a3504319d30383e8034294e
2020-06-02T07:50:02Z
2020-06-02T07:50:02Z
Update README to be more concise
Willy Goiffon
dev@z3bra.org
commit 957c69dd673f38ee1a3504319d30383e8034294e
parent 24029110a1efd51f3cf4652c504c7c6eb12bb826
Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 2 Jun 2020 09:50:02 +0200
Update README to be more concise
24029110a1efd51f3cf4652c504c7c6eb12bb826
2020-06-02T07:49:45Z
2020-06-02T07:49:45Z
Update manpage example to showcase path on STDIN
Willy Goiffon
dev@z3bra.org
commit 24029110a1efd51f3cf4652c504c7c6eb12bb826
parent 8d31be2785ab140a087843c2a125e30a7727376d
Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 2 Jun 2020 09:49:45 +0200
Update manpage example to showcase path on STDIN
8d31be2785ab140a087843c2a125e30a7727376d
2020-04-30T08:59:58Z
2020-04-30T08:59:58Z
Update README
Willy Goiffon
dev@z3bra.org
commit 8d31be2785ab140a087843c2a125e30a7727376d
parent a2cde2182b52311df842a36c13fddbc6e416df07
Author: Willy Goiffon <dev@z3bra.org>
Date: Thu, 30 Apr 2020 10:59:58 +0200
Update README
a2cde2182b52311df842a36c13fddbc6e416df07
2020-04-20T14:05:16Z
2020-04-20T14:05:19Z
Fix segmentation fault in basename()
Willy Goiffon
dev@z3bra.org
commit a2cde2182b52311df842a36c13fddbc6e416df07
parent 1c5a1113bc593cb3f6c1393fcac680d4768c8d35
Author: Willy Goiffon <dev@z3bra.org>
Date: Mon, 20 Apr 2020 16:05:16 +0200
Fix segmentation fault in basename()
> From: Camille Lalloué <camille@laserbat.pw>
> Subject: wendy segfault & fix
> To: contact <contact@z3bra.org>
> Date: Sun, 19 Apr 2020 14:04:23 +0200
>
> hi !
>
> i've been enjoying wendy for a while now and updated to the latest version
> today, which appears to segfault on my system i dug a little bit using
> valgrind and think i found the cause (see patch joined with this mail)
>
> thanks & keep up the good work !
1c5a1113bc593cb3f6c1393fcac680d4768c8d35
2020-03-13T11:00:30Z
2020-03-13T11:00:30Z
Fix binary operation precedence issue
Willy Goiffon
dev@z3bra.org
commit 1c5a1113bc593cb3f6c1393fcac680d4768c8d35
parent cff44da04995e9f4eda7483b47047295d345f1e6
Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 13 Mar 2020 12:00:30 +0100
Fix binary operation precedence issue
cff44da04995e9f4eda7483b47047295d345f1e6
2020-03-13T10:04:36Z
2020-03-13T10:04:36Z
Add -l flag to list numeric values of events
Willy Goiffon
dev@z3bra.org
commit cff44da04995e9f4eda7483b47047295d345f1e6
parent 0176b6dc43a8dfb6682c3a76634e7b78e8354ed6
Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 13 Mar 2020 11:04:36 +0100
Add -l flag to list numeric values of events
0176b6dc43a8dfb6682c3a76634e7b78e8354ed6
2020-03-12T18:36:13Z
2020-03-12T18:36:13Z
Document -a flag in manpage
Willy Goiffon
dev@z3bra.org
commit 0176b6dc43a8dfb6682c3a76634e7b78e8354ed6
parent 143131288cbe6d8602ab925392a5b7537a026d85
Author: Willy Goiffon <dev@z3bra.org>
Date: Thu, 12 Mar 2020 19:36:13 +0100
Document -a flag in manpage
143131288cbe6d8602ab925392a5b7537a026d85
2020-03-12T18:30:52Z
2020-03-12T18:30:52Z
Ignore hidden inodes by default
Willy Goiffon
dev@z3bra.org
commit 143131288cbe6d8602ab925392a5b7537a026d85
parent 4ff6468aa26d8c9c7b85ca6cf6eac680e4d1ccc4
Author: Willy Goiffon <dev@z3bra.org>
Date: Thu, 12 Mar 2020 19:30:52 +0100
Ignore hidden inodes by default
4ff6468aa26d8c9c7b85ca6cf6eac680e4d1ccc4
2020-03-04T14:08:10Z
2020-03-04T14:11:32Z
Read path from stdin when none provided
Willy Goiffon
dev@z3bra.org
commit 4ff6468aa26d8c9c7b85ca6cf6eac680e4d1ccc4
parent 5d5db1f773592dcba430662794f3cc33e8084559
Author: Willy Goiffon <dev@z3bra.org>
Date: Wed, 4 Mar 2020 15:08:10 +0100
Read path from stdin when none provided
5d5db1f773592dcba430662794f3cc33e8084559
2020-03-04T14:05:21Z
2020-03-04T14:11:32Z
Cosmetic changes for if/else statement
Willy Goiffon
dev@z3bra.org
commit 5d5db1f773592dcba430662794f3cc33e8084559
parent c992a4aae67e5c852593e0ff87a2463100ac7413
Author: Willy Goiffon <dev@z3bra.org>
Date: Wed, 4 Mar 2020 15:05:21 +0100
Cosmetic changes for if/else statement
c992a4aae67e5c852593e0ff87a2463100ac7413
2020-03-04T14:03:55Z
2020-03-04T14:11:32Z
Include *_SELF events in default mask
Willy Goiffon
dev@z3bra.org
commit c992a4aae67e5c852593e0ff87a2463100ac7413
parent 12e2d648b0f26ae584f1ed4d6277f13e94be3301
Author: Willy Goiffon <dev@z3bra.org>
Date: Wed, 4 Mar 2020 15:03:55 +0100
Include *_SELF events in default mask
12e2d648b0f26ae584f1ed4d6277f13e94be3301
2020-03-04T13:13:06Z
2020-03-04T13:14:24Z
Treat IN_IGNORED as any other event
Willy Goiffon
dev@z3bra.org
commit 12e2d648b0f26ae584f1ed4d6277f13e94be3301
parent 4d64b76fa2f60a37c5a2edc70b9d5e27c338a2c2
Author: Willy Goiffon <dev@z3bra.org>
Date: Wed, 4 Mar 2020 14:13:06 +0100
Treat IN_IGNORED as any other event
4d64b76fa2f60a37c5a2edc70b9d5e27c338a2c2
2020-03-02T14:55:09Z
2020-03-02T14:55:09Z
Update manpage according to latest changes
Willy Goiffon
dev@z3bra.org
commit 4d64b76fa2f60a37c5a2edc70b9d5e27c338a2c2
parent a97ce71584b9931644a91c363afedc915bf69a3e
Author: Willy Goiffon <dev@z3bra.org>
Date: Mon, 2 Mar 2020 15:55:09 +0100
Update manpage according to latest changes
a97ce71584b9931644a91c363afedc915bf69a3e
2020-03-02T14:42:57Z
2020-03-02T14:42:57Z
Change watcher flag to -w
Willy Goiffon
dev@z3bra.org
commit a97ce71584b9931644a91c363afedc915bf69a3e
parent 9f1bb21cfb715ea4e2e095ea9697a28e9d529c32
Author: Willy Goiffon <dev@z3bra.org>
Date: Mon, 2 Mar 2020 15:42:57 +0100
Change watcher flag to -w
9f1bb21cfb715ea4e2e095ea9697a28e9d529c32
2020-03-02T14:01:56Z
2020-03-02T14:01:56Z
Run specified command on triggered events
Willy Goiffon
dev@z3bra.org
commit 9f1bb21cfb715ea4e2e095ea9697a28e9d529c32
parent 0aff97c697511ce29bd95b2bb1a68f5a95d6f2ed
Author: Willy Goiffon <dev@z3bra.org>
Date: Mon, 2 Mar 2020 15:01:56 +0100
Run specified command on triggered events
0aff97c697511ce29bd95b2bb1a68f5a95d6f2ed
2020-03-02T13:59:04Z
2020-03-02T13:59:04Z
Pass current watcher in wdpath()
Willy Goiffon
dev@z3bra.org
commit 0aff97c697511ce29bd95b2bb1a68f5a95d6f2ed
parent 5cd21f9a20ee3dbd4d35d6957a5ebdb392ab8523
Author: Willy Goiffon <dev@z3bra.org>
Date: Mon, 2 Mar 2020 14:59:04 +0100
Pass current watcher in wdpath()
5cd21f9a20ee3dbd4d35d6957a5ebdb392ab8523
2020-03-02T13:58:19Z
2020-03-02T13:58:19Z
Free the malloc(), and ignore expected ENOTDIR error
Willy Goiffon
dev@z3bra.org
commit 5cd21f9a20ee3dbd4d35d6957a5ebdb392ab8523
parent c3e9487830fe62b4adcf4ad22053485a435a1fac
Author: Willy Goiffon <dev@z3bra.org>
Date: Mon, 2 Mar 2020 14:58:19 +0100
Free the malloc(), and ignore expected ENOTDIR error
c3e9487830fe62b4adcf4ad22053485a435a1fac
2020-02-28T19:23:27Z
2020-02-28T19:23:27Z
Add flag to only monitor directories
Willy Goiffon
dev@z3bra.org
commit c3e9487830fe62b4adcf4ad22053485a435a1fac
parent e98930f741f75b078057ea54e5a252f85b10dc98
Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 28 Feb 2020 20:23:27 +0100
Add flag to only monitor directories
Use inotify mechanism IN_ONLYDIR to watch directories only. This makes
it easier to limit the number of watchers when watching directories
recursively.
e98930f741f75b078057ea54e5a252f85b10dc98
2020-02-28T19:20:27Z
2020-02-28T19:20:27Z
Change default mask to events about filesystem change
Willy Goiffon
dev@z3bra.org
commit e98930f741f75b078057ea54e5a252f85b10dc98
parent 166c7267261051b9944fb21f8f8afdbdc5df0796
Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 28 Feb 2020 20:20:27 +0100
Change default mask to events about filesystem change
This would only report events about create, delete, move and modify.
166c7267261051b9944fb21f8f8afdbdc5df0796
2020-02-28T19:01:39Z
2020-02-28T19:01:39Z
Reset verbosity to 0 by default
Willy Goiffon
dev@z3bra.org
commit 166c7267261051b9944fb21f8f8afdbdc5df0796
parent 6c09b1154ee762731099b081edbb39ae686df4a0
Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 28 Feb 2020 20:01:39 +0100
Reset verbosity to 0 by default
6c09b1154ee762731099b081edbb39ae686df4a0
2020-02-28T19:01:17Z
2020-02-28T19:01:17Z
Add flag to watch directories recursively
Willy Goiffon
dev@z3bra.org
commit 6c09b1154ee762731099b081edbb39ae686df4a0
parent f1ecd626eacbcac98fe252a4b7b5a463acaed2d6
Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 28 Feb 2020 20:01:17 +0100
Add flag to watch directories recursively
f1ecd626eacbcac98fe252a4b7b5a463acaed2d6
2020-02-28T18:52:45Z
2020-02-28T18:52:45Z
Prevent exiting too early when removing a watcher
Willy Goiffon
dev@z3bra.org
commit f1ecd626eacbcac98fe252a4b7b5a463acaed2d6
parent 7fb6bed951223737cf5f0440b1bbdb00368e0e30
Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 28 Feb 2020 19:52:45 +0100
Prevent exiting too early when removing a watcher
7fb6bed951223737cf5f0440b1bbdb00368e0e30
2020-02-28T18:13:02Z
2020-02-28T18:13:02Z
Store inode path as passed on the command line
Willy Goiffon
dev@z3bra.org
commit 7fb6bed951223737cf5f0440b1bbdb00368e0e30
parent 15c460099b6b0bfaa575b88646894e4d8b6ab755
Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 28 Feb 2020 19:13:02 +0100
Store inode path as passed on the command line
15c460099b6b0bfaa575b88646894e4d8b6ab755
2020-02-28T18:10:21Z
2020-02-28T18:10:21Z
Remove unused listwatcher() function
Willy Goiffon
dev@z3bra.org
commit 15c460099b6b0bfaa575b88646894e4d8b6ab755
parent 2619339f1fb96c93f427bf088e898e713aa36e0b
Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 28 Feb 2020 19:10:21 +0100
Remove unused listwatcher() function
2619339f1fb96c93f427bf088e898e713aa36e0b
2020-02-28T17:05:58Z
2020-02-28T17:09:11Z
Rewrite body to use SLIST from queue.h
Willy Goiffon
dev@z3bra.org
commit 2619339f1fb96c93f427bf088e898e713aa36e0b
parent a8a44b4a2acf56b9871abb4ecbaab64f4ff4f079
Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 28 Feb 2020 18:05:58 +0100
Rewrite body to use SLIST from queue.h
Full rewrite that aims to be more modular and easier to hack on.
Uses simple lists for node watching, and return events by their names
rather than cryptic integer values.
a8a44b4a2acf56b9871abb4ecbaab64f4ff4f079
2019-07-01T09:05:31Z
2019-07-01T09:05:31Z
Update contact information
Willy Goiffon
dev@z3bra.org
commit a8a44b4a2acf56b9871abb4ecbaab64f4ff4f079
parent e0d77986af818120da2174f5bb7a1e2688773592
Author: Willy Goiffon <dev@z3bra.org>
Date: Mon, 1 Jul 2019 11:05:31 +0200
Update contact information
e0d77986af818120da2174f5bb7a1e2688773592
2017-04-20T11:42:49Z
2017-04-20T11:43:08Z
Use implicit rules in makefile
z3bra
contactatz3bradotorg
commit e0d77986af818120da2174f5bb7a1e2688773592
parent 1cfef0a6de2446814e1947e5bc0e73ab744f2d6d
Author: z3bra <contactatz3bradotorg>
Date: Thu, 20 Apr 2017 13:42:49 +0200
Use implicit rules in makefile
1cfef0a6de2446814e1947e5bc0e73ab744f2d6d
2016-04-29T18:14:25Z
2016-04-29T18:14:25Z
Replace execvpe() call with execvp()
z3bra
willyatmailoodotorg
commit 1cfef0a6de2446814e1947e5bc0e73ab744f2d6d
parent d8f37c773ffd11256084aec460d136491310bbbe
Author: z3bra <willyatmailoodotorg>
Date: Fri, 29 Apr 2016 20:14:25 +0200
Replace execvpe() call with execvp()
The `execvpe()` implementation I had was hacky, inadequate and
disrespectful regarding the `const` attributes specified in `unistd.h`.
Moreover, `execvpe()` require _GNU_SOURCE to be set for no particular
advantage in our case.
d8f37c773ffd11256084aec460d136491310bbbe
2016-02-01T18:48:41Z
2016-02-01T18:48:41Z
Rename MANPREFIX to MANDIR
z3bra
willyatmailoodotorg
commit d8f37c773ffd11256084aec460d136491310bbbe
parent f0a10e88853dd32896c2275a2165bb60b35bdd3f
Author: z3bra <willyatmailoodotorg>
Date: Mon, 1 Feb 2016 19:48:41 +0100
Rename MANPREFIX to MANDIR
f0a10e88853dd32896c2275a2165bb60b35bdd3f
2016-02-01T12:45:28Z
2016-02-01T12:45:28Z
Rewrite wendy.1 using mdoc format
z3bra
willyatmailoodotorg
commit f0a10e88853dd32896c2275a2165bb60b35bdd3f
parent be93ac0426a2fedea1121fdc094cb6e1506e5d9c
Author: z3bra <willyatmailoodotorg>
Date: Mon, 1 Feb 2016 13:45:28 +0100
Rewrite wendy.1 using mdoc format
be93ac0426a2fedea1121fdc094cb6e1506e5d9c
2016-01-31T19:02:06Z
2016-01-31T19:02:18Z
Remove del_node() function for simplicity sake
z3bra
willyatmailoodotorg
commit be93ac0426a2fedea1121fdc094cb6e1506e5d9c
parent 586f632bf3e8d3e7155542e56cfc6c28e7d2ece1
Author: z3bra <willyatmailoodotorg>
Date: Sun, 31 Jan 2016 20:02:06 +0100
Remove del_node() function for simplicity sake
586f632bf3e8d3e7155542e56cfc6c28e7d2ece1
2016-01-31T15:52:09Z
2016-01-31T15:52:09Z
Keep watching files sending IN_IGNORED
z3bra
willyatmailoodotorg
commit 586f632bf3e8d3e7155542e56cfc6c28e7d2ece1
parent 01b58f2fc1d014c7c4e6d02aa65997f52855c91c
Author: z3bra <willyatmailoodotorg>
Date: Sun, 31 Jan 2016 16:52:09 +0100
Keep watching files sending IN_IGNORED
In case a file gets deleted, we remove it from our watch list, and try
to add it again, it case it has been recreated. This will handle case
where the file is deleted, and then recreated, for example with
rename(2).
01b58f2fc1d014c7c4e6d02aa65997f52855c91c
2016-01-31T15:25:19Z
2016-01-31T15:27:15Z
Code cleanup
z3bra
willyatmailoodotorg
commit 01b58f2fc1d014c7c4e6d02aa65997f52855c91c
parent f9a2ff5a697cc95c4ef10d2235b4bb5ed3f25353
Author: z3bra <willyatmailoodotorg>
Date: Sun, 31 Jan 2016 16:25:19 +0100
Code cleanup
f9a2ff5a697cc95c4ef10d2235b4bb5ed3f25353
2016-01-31T15:21:08Z
2016-01-31T15:27:15Z
Make wendy export environment variables
z3bra
willyatmailoodotorg
commit f9a2ff5a697cc95c4ef10d2235b4bb5ed3f25353
parent 9a2882780b14d4b6118b2a34c2deaca37e3ee6a9
Author: z3bra <willyatmailoodotorg>
Date: Sun, 31 Jan 2016 16:21:08 +0100
Make wendy export environment variables
When an event is triggered, and a command is specified, wendy will
export two variables in the environments: WENDY_INODE and WENDY_EVENT.
These two variables will inherit the name ofr the node that triggered
the event, and the numeric value of this event.
9a2882780b14d4b6118b2a34c2deaca37e3ee6a9
2016-01-31T15:06:52Z
2016-01-31T15:27:07Z
Cleanup makefile
z3bra
willyatmailoodotorg
commit 9a2882780b14d4b6118b2a34c2deaca37e3ee6a9
parent c5a2151645b501008a2b00beb46f35b403d63421
Author: z3bra <willyatmailoodotorg>
Date: Sun, 31 Jan 2016 16:06:52 +0100
Cleanup makefile
c5a2151645b501008a2b00beb46f35b403d63421
2016-01-31T15:02:32Z
2016-01-31T15:08:11Z
Relicense wendy under ISC
z3bra
willyatmailoodotorg
commit c5a2151645b501008a2b00beb46f35b403d63421
parent 56b76a0bf99cdb6c1ec4d7564d9692352960ec02
Author: z3bra <willyatmailoodotorg>
Date: Sun, 31 Jan 2016 16:02:32 +0100
Relicense wendy under ISC
56b76a0bf99cdb6c1ec4d7564d9692352960ec02
2016-01-31T14:18:58Z
2016-01-31T15:08:05Z
Make invocation simpler and more robust
z3bra
willyatmailoodotorg
commit 56b76a0bf99cdb6c1ec4d7564d9692352960ec02
parent 914fb4ad0fa9e4e14541ccd0baf749c582e6227a
Author: z3bra <willyatmailoodotorg>
Date: Sun, 31 Jan 2016 15:18:58 +0100
Make invocation simpler and more robust
* uses arg.h for argument parsing
* removes -e argument. now everything passed beyond arguments
is considered to be the command
* makes IN_CLOSE_WRITE the default mask (aka, file modification)
914fb4ad0fa9e4e14541ccd0baf749c582e6227a
2015-06-14T22:12:09Z
2015-06-14T22:12:09Z
added double forking to avoid zombie children
z3bra
willy@mailoo.org
commit 914fb4ad0fa9e4e14541ccd0baf749c582e6227a
parent d23d7988ed57234856fc6c8633582bf147a743e0
Author: z3bra <willy@mailoo.org>
Date: Mon, 15 Jun 2015 00:12:09 +0200
added double forking to avoid zombie children
d23d7988ed57234856fc6c8633582bf147a743e0
2015-04-14T21:06:21Z
2015-04-14T21:06:21Z
Merge branch 'bocxorocx-master'
z3bra
willy@mailoo.org
commit d23d7988ed57234856fc6c8633582bf147a743e0
parent 5f2a87a86e564bc5ed9b7b0899ac7a7f630b9fe0
Author: z3bra <willy@mailoo.org>
Date: Tue, 14 Apr 2015 23:06:21 +0200
Merge branch 'bocxorocx-master'
2d1d1f2a95c31e5e9849d6b6100c95d04c7c4877
2015-04-14T21:00:17Z
2015-04-14T21:00:17Z
Gave more specific examples in the manpage
z3bra
willy@mailoo.org
commit 2d1d1f2a95c31e5e9849d6b6100c95d04c7c4877
parent 3dec7f9619a5fd824a247260f5d1637a3a731643
Author: z3bra <willy@mailoo.org>
Date: Tue, 14 Apr 2015 23:00:17 +0200
Gave more specific examples in the manpage
Those examples are meant to show the different use cases handled by
wendy, like handling multiple files or multiple masks.
I also precised a few behaviors in the OPTIONS section.
3dec7f9619a5fd824a247260f5d1637a3a731643
2015-04-14T20:13:08Z
2015-04-14T20:13:08Z
Manual page installation
a bocx of rocx
bocxorocx@users.noreply.github.com
commit 3dec7f9619a5fd824a247260f5d1637a3a731643
parent 47950683340fba7430aee89346585855f28e9c06
Author: a bocx of rocx <bocxorocx@users.noreply.github.com>
Date: Tue, 14 Apr 2015 16:13:08 -0400
Manual page installation
47950683340fba7430aee89346585855f28e9c06
2015-04-14T16:07:41Z
2015-04-14T16:07:41Z
Manual page
a bocx of rocx
bocxorocx@users.noreply.github.com
commit 47950683340fba7430aee89346585855f28e9c06
parent 5f2a87a86e564bc5ed9b7b0899ac7a7f630b9fe0
Author: a bocx of rocx <bocxorocx@users.noreply.github.com>
Date: Tue, 14 Apr 2015 12:07:41 -0400
Manual page
5f2a87a86e564bc5ed9b7b0899ac7a7f630b9fe0
2015-03-30T19:09:29Z
2015-03-30T19:09:29Z
fixed a typo in the README
z3bra
willy@mailoo.org
commit 5f2a87a86e564bc5ed9b7b0899ac7a7f630b9fe0
parent c856319e5dc15ebb39c9d50e6a28f08da75f0add
Author: z3bra <willy@mailoo.org>
Date: Mon, 30 Mar 2015 21:09:29 +0200
fixed a typo in the README
c856319e5dc15ebb39c9d50e6a28f08da75f0add
2015-03-30T19:07:49Z
2015-03-30T19:07:49Z
updated README to reflect new features
z3bra
willy@mailoo.org
commit c856319e5dc15ebb39c9d50e6a28f08da75f0add
parent 9acc82e8767b5566629584d80cd8c22505deaa0c
Author: z3bra <willy@mailoo.org>
Date: Mon, 30 Mar 2015 21:07:49 +0200
updated README to reflect new features
9acc82e8767b5566629584d80cd8c22505deaa0c
2015-03-30T19:07:28Z
2015-03-30T19:07:28Z
fixed filename output to prepend directory when specified
z3bra
willy@mailoo.org
commit 9acc82e8767b5566629584d80cd8c22505deaa0c
parent 9fd06b0d1bdbc8cac24a9dd9a0bce8fe570a512f
Author: z3bra <willy@mailoo.org>
Date: Mon, 30 Mar 2015 21:07:28 +0200
fixed filename output to prepend directory when specified
9fd06b0d1bdbc8cac24a9dd9a0bce8fe570a512f
2015-03-30T18:43:57Z
2015-03-30T18:43:57Z
formatting: 4 spaces -> 8 tabs
z3bra
willy@mailoo.org
commit 9fd06b0d1bdbc8cac24a9dd9a0bce8fe570a512f
parent 496ea93e3942b856d01b7a955c6e069b3828644b
Author: z3bra <willy@mailoo.org>
Date: Mon, 30 Mar 2015 20:43:57 +0200
formatting: 4 spaces -> 8 tabs
496ea93e3942b856d01b7a955c6e069b3828644b
2015-03-30T18:43:07Z
2015-03-30T18:43:07Z
now read filenames from stdin
z3bra
willy@mailoo.org
commit 496ea93e3942b856d01b7a955c6e069b3828644b
parent 58885b792ec33031cf7a397faf61cc071e79eb31
Author: z3bra <willy@mailoo.org>
Date: Mon, 30 Mar 2015 20:43:07 +0200
now read filenames from stdin
58885b792ec33031cf7a397faf61cc071e79eb31
2015-03-27T21:51:05Z
2015-03-27T21:51:05Z
use TAB as a delimiter
z3bra
willy@mailoo.org
commit 58885b792ec33031cf7a397faf61cc071e79eb31
parent 5c5a9f30ea0bb497b1307cff891931e08591ab71
Author: z3bra <willy@mailoo.org>
Date: Fri, 27 Mar 2015 22:51:05 +0100
use TAB as a delimiter
5c5a9f30ea0bb497b1307cff891931e08591ab71
2015-03-27T19:09:06Z
2015-03-27T19:09:06Z
wendy can now watch multiple files at the same time
z3bra
willy@mailoo.org
commit 5c5a9f30ea0bb497b1307cff891931e08591ab71
parent bdb6607a79f68266c32227b5f4948f945265dfad
Author: z3bra <willy@mailoo.org>
Date: Fri, 27 Mar 2015 20:09:06 +0100
wendy can now watch multiple files at the same time
bdb6607a79f68266c32227b5f4948f945265dfad
2014-07-16T11:11:31Z
2014-07-16T11:11:31Z
Merge branch 'master' of git.z3bra.org:wendy
z3bra
willy@mailoo.org
commit bdb6607a79f68266c32227b5f4948f945265dfad
parent 555a55c468d7289bcb463170e16566306206091c
Author: z3bra <willy@mailoo.org>
Date: Wed, 16 Jul 2014 13:11:31 +0200
Merge branch 'master' of git.z3bra.org:wendy
555a55c468d7289bcb463170e16566306206091c
2014-07-16T06:30:49Z
2014-07-16T06:30:49Z
Be quiet by default. Replaced -q with -v
z3bra
willy@mailoo.org
commit 555a55c468d7289bcb463170e16566306206091c
parent 9694ba357135dfabe794d4e47c0e676ee9fbbdf0
Author: z3bra <willy@mailoo.org>
Date: Wed, 16 Jul 2014 08:30:49 +0200
Be quiet by default. Replaced -q with -v
0f99856c19427d5aa8f401fed50873926acfe643
2014-03-10T07:45:09Z
2014-03-10T07:45:09Z
Fixed typos in README
z3bra
willy@mailoo.org
commit 0f99856c19427d5aa8f401fed50873926acfe643
parent 010a50e899c96c995df263439caad4c3001a0f0b
Author: z3bra <willy@mailoo.org>
Date: Mon, 10 Mar 2014 08:45:09 +0100
Fixed typos in README
010a50e899c96c995df263439caad4c3001a0f0b
2014-03-10T07:35:23Z
2014-03-10T07:35:23Z
Merge branch 'master' of z3bra.org:wendy
z3bra
willy@mailoo.org
commit 010a50e899c96c995df263439caad4c3001a0f0b
parent f98a8f1ea4f4174f307a2355dbd432d3510aec6e
Author: z3bra <willy@mailoo.org>
Date: Mon, 10 Mar 2014 08:35:23 +0100
Merge branch 'master' of z3bra.org:wendy
f98a8f1ea4f4174f307a2355dbd432d3510aec6e
2014-03-10T07:35:10Z
2014-03-10T07:35:10Z
Added a FAQ to the README
z3bra
willy@mailoo.org
commit f98a8f1ea4f4174f307a2355dbd432d3510aec6e
parent d9b41bb26d563a50964b320cbe9f2634e7c0c784
Author: z3bra <willy@mailoo.org>
Date: Mon, 10 Mar 2014 08:35:10 +0100
Added a FAQ to the README
9694ba357135dfabe794d4e47c0e676ee9fbbdf0
2014-02-16T21:11:56Z
2014-02-16T21:11:56Z
Added 3 more events to list_events
z3bra
willy@mailoo.org
commit 9694ba357135dfabe794d4e47c0e676ee9fbbdf0
parent e5ce4d46a667ade7fc70dbf71579f7c4029943c7
Author: z3bra <willy@mailoo.org>
Date: Sun, 16 Feb 2014 22:11:56 +0100
Added 3 more events to list_events
e5ce4d46a667ade7fc70dbf71579f7c4029943c7
2014-02-16T17:17:49Z
2014-02-16T17:17:49Z
Now recreate the file watch when getting IN_IGNORED event
z3bra
willy@mailoo.org
commit e5ce4d46a667ade7fc70dbf71579f7c4029943c7
parent 6a8cc070dbd404d740009f71bec92c8c3593cf2b
Author: z3bra <willy@mailoo.org>
Date: Sun, 16 Feb 2014 18:17:49 +0100
Now recreate the file watch when getting IN_IGNORED event
6a8cc070dbd404d740009f71bec92c8c3593cf2b
2014-02-12T16:02:19Z
2014-02-12T16:02:19Z
Fixed command handling
z3bra
willy@mailoo.org
commit 6a8cc070dbd404d740009f71bec92c8c3593cf2b
parent d9b41bb26d563a50964b320cbe9f2634e7c0c784
Author: z3bra <willy@mailoo.org>
Date: Wed, 12 Feb 2014 17:02:19 +0100
Fixed command handling
d9b41bb26d563a50964b320cbe9f2634e7c0c784
2014-02-12T12:37:01Z
2014-02-12T12:37:01Z
Merge branch 'master' of z3bra.org:wendy
z3bra
willy@mailoo.org
commit d9b41bb26d563a50964b320cbe9f2634e7c0c784
parent 44ee3d650cfbd4e583dfac2f978ceb82d031f6c2
Author: z3bra <willy@mailoo.org>
Date: Wed, 12 Feb 2014 13:37:01 +0100
Merge branch 'master' of z3bra.org:wendy
44ee3d650cfbd4e583dfac2f978ceb82d031f6c2
2014-02-12T12:36:53Z
2014-02-12T12:36:53Z
Sanitize makefile
z3bra
willy@mailoo.org
commit 44ee3d650cfbd4e583dfac2f978ceb82d031f6c2
parent 89f765ac51ddda0d47d2124b36de1de2fc793864
Author: z3bra <willy@mailoo.org>
Date: Wed, 12 Feb 2014 13:36:53 +0100
Sanitize makefile
55dd5c5c358743bfd8461c135206f6907dbff516
2014-02-12T08:09:58Z
2014-02-12T08:09:58Z
Effectively use the file given as argument
z3bra
willy@mailoo.org
commit 55dd5c5c358743bfd8461c135206f6907dbff516
parent 4347b16b35ccf473b2bc53e11fb96fe79fe8f1d5
Author: z3bra <willy@mailoo.org>
Date: Wed, 12 Feb 2014 09:09:58 +0100
Effectively use the file given as argument
4347b16b35ccf473b2bc53e11fb96fe79fe8f1d5
2014-02-11T17:27:26Z
2014-02-11T17:27:26Z
Added more option to view and specify every mask
z3bra
willy@mailoo.org
commit 4347b16b35ccf473b2bc53e11fb96fe79fe8f1d5
parent 87734b64361a83547623eea8e53d111992b65a9e
Author: z3bra <willy@mailoo.org>
Date: Tue, 11 Feb 2014 18:27:26 +0100
Added more option to view and specify every mask
87734b64361a83547623eea8e53d111992b65a9e
2014-02-11T16:51:32Z
2014-02-11T16:51:32Z
Simplify a lin in the makefile
z3bra
willy@mailoo.org
commit 87734b64361a83547623eea8e53d111992b65a9e
parent f590ff91d8bd9abd87f575059b3bcbbb8dcbe6b8
Author: z3bra <willy@mailoo.org>
Date: Tue, 11 Feb 2014 17:51:32 +0100
Simplify a lin in the makefile
f590ff91d8bd9abd87f575059b3bcbbb8dcbe6b8
2014-02-11T16:13:09Z
2014-02-11T16:13:09Z
Allow watching specific files, or entire directories
z3bra
willy@mailoo.org
commit f590ff91d8bd9abd87f575059b3bcbbb8dcbe6b8
parent 586cde88d9631d6ab994f112253b34ee83a95771
Author: z3bra <willy@mailoo.org>
Date: Tue, 11 Feb 2014 17:13:09 +0100
Allow watching specific files, or entire directories
586cde88d9631d6ab994f112253b34ee83a95771
2014-02-11T15:35:23Z
2014-02-11T15:35:23Z
Corrected README, you cannot do "-DMC"
z3bra
willy@mailoo.org
commit 586cde88d9631d6ab994f112253b34ee83a95771
parent 89f765ac51ddda0d47d2124b36de1de2fc793864
Author: z3bra <willy@mailoo.org>
Date: Tue, 11 Feb 2014 16:35:23 +0100
Corrected README, you cannot do "-DMC"
89f765ac51ddda0d47d2124b36de1de2fc793864
2014-02-10T08:58:55Z
2014-02-10T08:58:55Z
Fixed makefile and add sane defaults
z3bra
willy@mailoo.org
commit 89f765ac51ddda0d47d2124b36de1de2fc793864
parent b9cb39779b27020654b686de18f2114c9613752b
Author: z3bra <willy@mailoo.org>
Date: Mon, 10 Feb 2014 09:58:55 +0100
Fixed makefile and add sane defaults
b9cb39779b27020654b686de18f2114c9613752b
2014-02-10T08:55:18Z
2014-02-10T08:55:18Z
Added a README
z3bra
willy@mailoo.org
commit b9cb39779b27020654b686de18f2114c9613752b
parent f975a23b2234c3344a51832b025eb7dde47a8f45
Author: z3bra <willy@mailoo.org>
Date: Mon, 10 Feb 2014 09:55:18 +0100
Added a README
f975a23b2234c3344a51832b025eb7dde47a8f45
2014-02-10T08:48:15Z
2014-02-10T08:48:15Z
Changed LICENSE
z3bra
willy@mailoo.org
commit f975a23b2234c3344a51832b025eb7dde47a8f45
parent cce81874b8809f1024cc5062b7e1bf4380292db3
Author: z3bra <willy@mailoo.org>
Date: Mon, 10 Feb 2014 09:48:15 +0100
Changed LICENSE
cce81874b8809f1024cc5062b7e1bf4380292db3
2014-02-10T08:47:18Z
2014-02-10T08:47:18Z
Improved makefile
z3bra
willy@mailoo.org
commit cce81874b8809f1024cc5062b7e1bf4380292db3
parent 9bf0c01d89e1eb9ae80427e451a8fb553bcf7e35
Author: z3bra <willy@mailoo.org>
Date: Mon, 10 Feb 2014 09:47:18 +0100
Improved makefile
9bf0c01d89e1eb9ae80427e451a8fb553bcf7e35
2014-02-10T08:18:06Z
2014-02-10T08:18:06Z
Changed flag -d to -f (everything is a file)
z3bra
willy@mailoo.org
commit 9bf0c01d89e1eb9ae80427e451a8fb553bcf7e35
parent e0c7dc8c028053d58f7b8337ae31c6292e7d865b
Author: z3bra <willy@mailoo.org>
Date: Mon, 10 Feb 2014 09:18:06 +0100
Changed flag -d to -f (everything is a file)
e0c7dc8c028053d58f7b8337ae31c6292e7d865b
2013-08-07T15:30:42Z
2013-08-07T15:30:42Z
hum... formatting ?
Willy Goiffon
w.goiffon@gmail.com
commit e0c7dc8c028053d58f7b8337ae31c6292e7d865b
parent 06dd73f39357458f84854d4f22fac139a3210b32
Author: Willy Goiffon <w.goiffon@gmail.com>
Date: Wed, 7 Aug 2013 17:30:42 +0200
hum... formatting ?
06dd73f39357458f84854d4f22fac139a3210b32
2013-08-02T13:30:09Z
2013-08-02T13:30:09Z
first commit
Willy Goiffon
w.goiffon@gmail.com
commit 06dd73f39357458f84854d4f22fac139a3210b32
Author: Willy Goiffon <w.goiffon@gmail.com>
Date: Fri, 2 Aug 2013 15:30:09 +0200
first commit