LinuxCommandLibrary

feed2exec

TLDR

Fetch all configured feeds

$ feed2exec fetch
copy
Add a new feed
$ feed2exec add [feedname] [https://example.com/feed.xml]
copy
List configured feeds
$ feed2exec ls
copy
Remove a feed
$ feed2exec rm [feedname]
copy
Run with custom config
$ feed2exec --config [~/.config/feed2exec.ini] fetch
copy

SYNOPSIS

feed2exec [options] command [args]

DESCRIPTION

feed2exec fetches RSS/Atom feeds and executes commands for each new entry. It's a flexible feed processor that can send emails, run scripts, save files, or trigger any command based on feed updates.
Unlike feed readers, feed2exec is designed for automation. Common uses include email notifications, archiving, and triggering webhooks when feeds update.

PARAMETERS

fetch

Fetch and process all feeds.
add name url
Add new feed.
rm name
Remove feed.
ls
List configured feeds.
parse url
Parse feed without processing.
--config file
Configuration file path.
--verbose, -v
Verbose output.
--debug
Debug output.

CONFIGURATION EXAMPLE

$ [example-feed]
url = https://example.com/feed.xml
output = maildir
folder = ~/Mail/feeds
copy

CAVEATS

Requires configuration for each feed. State tracked in SQLite database. Email sending needs configured MTA. Complex outputs may need custom plugins.

HISTORY

feed2exec was written by Antoine Beaupré as a flexible replacement for rss2email and similar tools. It emphasizes Unix philosophy, executing external commands rather than implementing every feature internally.

SEE ALSO

rss2email(1), newsboat(1), curl(1)

Copied to clipboard