I am very new to bash scripting, so bear with me, please. I need to collect, compress and delete files in the archive directory of a directory tree older than 30 days old for each respective folder. The directory structure looks like this ...
root
-export
--client01
---archive
-process
--client01
---834
----archive
---835
----archive
---837
----archive
In each archive folder I need to create timestamped tar/zip with files 30 days or older in the tar/zip file before I delete them (i.e., 20190730_111543.zip)
Hope this makes sense.