File: README

package info (click to toggle)
fileschanged 0.6.5-2
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 1,348 kB
  • ctags: 159
  • sloc: sh: 4,137; ansic: 1,407; makefile: 87; sed: 16
file content (39 lines) | stat: -rw-r--r-- 1,505 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

fileschanged.

(from the info manual)

The fileschanged utility is a FAM (File Alteration Monitor) client.  From 
the command-line it monitors sets of files and shows you when they change.  
You can use fileschanged in shell scripts to take action when monitored 
files become altered.  In it's simplest form, you can give fileschanged 
filenames to monitor from stdin, and it will report when those files have 
changed via stdout.  You can stop fileschanged from monitoring files by 
pressing CTRL-C.  In a more complex usage, fileschanged can monitor 
command-line specified files recursively, while following symbolic links, 
while staying on the current filesystem, and reporting deleted files as 
well as created and changed files that haven't been written to for 2 
seconds.  This software is protected by the GNU General Public License, so
users are free to share and change it.


notes to my future self on how to build packages:

to build a debian package:
	make sure you have cdbs, devscripts installed.
	make dist
	cp fileschanged-{version}.tar.gz /tmp
	cd /tmp
	tar -zxvf fileschanged-{version}
	cd into the top level source directory.
	debuild

to build a redhat package:
	make sure you have rpmbuild installed.
	make dist
	mkdir ~/play/rpmbuild/SOURCES/fileschanged-{version}
	cp fileschanged-{version}.tar.gz ~/play/rpmbuild/SOURCES/fileschanged-{version}
	tar -zxvf fileschanged-{version}
	cd into the top level source directory
	./configure
	rpmbuild -ba --sign redhat/fileschanged.spec