#include <cstdint>
#include <filesystem>
#include <iostream>
#include <string>
#include <thread>

namespace sfs = std::filesystem;


int main(int argc, char** argv)
{
    std::cout << "Sendfile Copy Util\n" << std::endl;

    if (argc < 2)
    {
        std::cerr << "ERROR: please specify input path\n" << std::endl;
        return -1;
    }

    const std::string inputPath(argv[1]);

    for (const auto& dirEntry : sfs::recursive_directory_iterator(inputPath))
    {
        std::cout << "PATH: " << dirEntry << std::endl;
    }

    return 0;
}
