uninstalled_extra_args=(--min-mtime "30 days ago" --remove-build-files)
=
yaycache: option '--min-mtime' requires an argument
error: command failed to execute correctly
uninstalled_extra_args=(--min-mtime="30 days ago" --remove-build-files)
=
date: invalid date ‘30’
==> ERROR: argument to option --min-mtime must be of the form described by 'info "Date input formats" '.
error: command failed to execute correctly
uninstalled_extra_args=(--min-mtime="30\ days\ ago" --remove-build-files)
=
date: invalid date ‘30\\’
==> ERROR: argument to option --min-mtime must be of the form described by 'info "Date input formats" '.
uninstalled_extra_args="--min-mtime 30\ days\ ago --remove-build-files"
=
date: invalid date ‘30\\’
==> ERROR: argument to option --min-mtime must be of the form described by 'info "Date input formats" '.
uninstalled_extra_args="--min-mtime='30 days ago' --remove-build-files"
uninstalled_extra_args="--min-mtime '30 days ago' --remove-build-files"
=
date: invalid date ‘'30’
==> ERROR: argument to option --min-mtime must be of the form described by 'info "Date input formats" '.
uninstalled_extra_args='--min-mtime "30 days ago" --remove-build-files'
=
date: invalid date ‘"30’
==> ERROR: argument to option --min-mtime must be of the form described by 'info "Date input formats" '.
so basically I can't use escaping, spaces nor quotes. But all the relative dates of the 'info "Date input formats"' have spaces inside them.
the only "workaround" I found was...:
uninstalled_extra_args="--min-mtime=$(date -d '30 days ago' +%Y-%m-%d) --remove-build-files"
but I would prefer not to use the extra execution subshell inside the config variable
so basically I can't use escaping, spaces nor quotes. But all the relative dates of the 'info "Date input formats"' have spaces inside them.
the only "workaround" I found was...:
but I would prefer not to use the extra execution subshell inside the config variable