kc9wwh / logCollection

Script to upload client device logs to Jamf Pro
MIT License
111 stars 27 forks source link

How to get logs with a space and wildcard for the date #12

Open kylejericson opened 2 years ago

kylejericson commented 2 years ago

This is my log path /Library/Logs/MSP\ Anywhere\ Agent\ N-central/MSP_Anywhere_Agent_N-central_2022_06_01.log

Also since the logs have dates I would need a wildcard. How should I do this for the log path in the script?

aschwanb commented 2 years ago

I tried adressing this in the following PR: https://github.com/kc9wwh/logCollection/pull/13