A Haskell program that list text files in a folder and send it in a post request to an endpoint.
Make sure that the haskell platform is installed on the system https://www.haskell.org/downloads/
make
or
ghc -o sync sync.hs
usage "sync <FOLDER_PATH>"
./sync /tmp/