2 SPDX-FileCopyrightText: 2022 Frank Doepper
4 SPDX-License-Identifier: FSFAP
9 Send a message containing a file and put the filename into a fileName
12 agitprop -x amq.topic -r test -F fileName -f agitprop.hs
14 Watch two directories dir1 and dir2 and send files from dir1 with routingkey r1
15 and files from dir2 with routingkey r2, ignoring everything which is not *.txt
16 or *.zip, and set Content-Type and Content-Encoding automatically, and move all
17 sent files to subdir "done" (dir1/done and dir2/done, respectively):
19 agitprop -x amq.topic -F fileName -m -S .txt -S .zip -d -udone -r r1 -f dir1 -r r2 -f dir2