]> Cypherpunks.ru repositories - nncp.git/blob - doc/integration/freqindex.texi
Add various documentation indices
[nncp.git] / doc / integration / freqindex.texi
1 @node FreqIndex
2 @cindex index files
3 @section Index files for freqing
4
5 In many cases you do not know exact files list on remote machine you
6 want to freq from. Because files can be updated there. It is useful to
7 run cron-ed job on it to create files listing you can freq and search
8 for files in it:
9
10 @example
11 0  4  *  *  *  cd /storage ; tmp=`mktemp` ; \
12     tree -f -h -N --du --timefmt \%Y-\%m-\%d |
13     zstdmt -19 > $tmp && chmod 644 $tmp && mv $tmp TREE.txt.zst ; \
14     tree -J -f --timefmt \%Y-\%m-\%d |
15     zstdmt -19 > $tmp && chmod 644 $tmp && mv $tmp TREE.json.zst
16 @end example