I have a bunch of sub-directories of daily log files generated by my web application. Ideally what I would like to achieve is if given a path to a parent directory (i.e.)~/myapp/logs/july-logs/ the tool creates individual zip files of every single day sub-directory (i.e.) 11.07.23-myapp-logs.zip, 12.07.23-myapp-logs.zip etc. I have attached a screenshot for better understanding of the directory structure.
I have tried multiple times to find a tool on the Internet and gone through Github to find a repo where someone has developed a similar solution but no LUCK. I just want someone who knows how this can be done to point me in the right direction. I am ready to write a tool that can solve my problem from scratch and I posted a question here to make sure I am not reinventing the wheel.