]> Sergey Matveev's repositories - feeder.git/blob - doc/usage/clear.texi
Sectioned usage
[feeder.git] / doc / usage / clear.texi
1 @node Clear
2 @section Clear
3
4 Clear excess number of messages with:
5
6 @example
7 $ ./feeds-clear.zsh
8 $ cmd/clear.zsh feeds/FEED # to clear single feed
9 @end example
10
11 By default (@env{$FEEDER_MAX_ITEMS}) only 100 entries are processed.
12 Parser only appends posts, but does not remove obsolete ones.
13
14 You can set that limit on per-feed basis:
15
16 @example
17 $ echo 50 > feed/FEED/max
18 @end example
19
20 @strong{0} means no limit and keep all the messages.
21
22 Pay attention that @file{new/} directory is not touched, so you won't
23 loose completely new and unread messages when you are on vacation and
24 left @command{cron}-ed workers.
25
26 To clean download state for some reason:
27
28 @example
29 $ cmd/download-clean.sh feed/FEED
30 @end example