Closed realbaylen closed 9 months ago
MacOS isn't supported.
macOS's date
implementation slightly differs from GNU date. Simply install GNU date via Homebrew (brew install coreutils
) and replace all invocations of date
in the scripts with gdate
.
Following part of the script
... --datebefore "$(date --date="30 days ago" +%Y%m%d)" ...
should then look like this
... --datebefore "$(gdate --date="30 days ago" +%Y%m%d)" ...
macOS's
date
implementation slightly differs from GNU date. Simply install GNU date via Homebrew (brew install coreutils
) and replace all invocations ofdate
in the scripts withgdate
.Following part of the script
... --datebefore "$(date --date="30 days ago" +%Y%m%d)" ...
should then look like this
... --datebefore "$(gdate --date="30 days ago" +%Y%m%d)" ...
Thank you!! Worked perfectly.
Unable to use script: yt-dlp: error: Invalid date format ""
I am on the latest macOS
output.log