@node Enclosures @section Enclosures Many feeds include links to so-called enclosures, like audio files for podcasts. While your mail is not processed by MUA, its @file{new/} messages are still there, so you can run enclosure downloading process, that uses @url{https://www.gnu.org/software/wget/, GNU Wget}. Each enclosure's filename is more or less filesystem-friendly with the current timestamp. @example $ ./feeds-encs.zsh [...] monsterfeet.com_grue.rss/encs/20220218-152822-traffic.libsyn.com_monsterfeet_grue_018.mp3 www.astronews.ru_astronews.xml/encs/20220219-115710-www.astronews.ru_news_2022_20220216125238.jpg [...] $ file feeds/**/encs/*/ monsterfeet.com_grue.rss/encs/20220218-152822-traffic.libsyn.com_monsterfeet_grue_018.mp3: Audio file with ID3 version 2.2.0, contains:MPEG ADTS, layer III, v1, 96 kbps, 44.1 kHz, Monaural www.astronews.ru_astronews.xml/encs/20220219-115710-www.astronews.ru_news_2022_20220216125238.jpg: JPEG image data, JFIF standard 1.01, ... @end example @command{feeds-encs.zsh} does not parallelize jobs, because enclosure are often heavy enough to satiate your Internet link. @command{wget}'s progress is also printed both to stderr and @file{feeds/FEED/encs.log}. Of course you can download only single feed's enclosures: @example $ cmd/encs.zsh path/to/FEED [optional overriden destination directory] @end example