laurent22 / rsync-time-backup

Time Machine style backup with rsync.
3.38k stars 446 forks source link

Fix MacOS date parse when GNU date is present. #171

Closed jlucktay closed 2 years ago

jlucktay commented 4 years ago

If a MacOS user has installed GNU coreutils via Homebrew and updated $PATH with the new 'gnubin' directory, then the flags supported by 'date' will differ and rsync_tmbackup.sh will throw the following:

[WARNING] Could not parse date

Why is the change necessary? (Bug fix, feature, improvements?)

How does the change address the issue?

jlucktay commented 2 years ago

Fixed by 7e3618c5140f24ce3c3842b5e3efcf7012e536e0.