petergardfjall / garminexport

Garmin Connect activity exporter and backup tool
Apache License 2.0
500 stars 85 forks source link

File Pattern Windows <--> Linux Compat #110

Open knom opened 9 months ago

knom commented 9 months ago

Hi, I'm running the script as a cron-job on a Linux Server. The filenames (naturally since platform is not NT) contain Windows unfriendly chars.

When doing an SCP to my Windows machine, I always have to replace them...

Can I do a PR that adds a parameter to the CLI so you ALWAYS get the Windows FRIENDLY filename (overriding the platform)?

I'm suggesting garminexport --useWindowsFileNames ...

Thanks, knom.