You need to sign in to do that
Don't have an account?

ERROR running force:mdapi:convert: Unexpected arguments: --rootdir, mdapi_project, --outputdir, tmp_convert
In an effort to convert some metadata source to the appropriate Source format to apply to a scratch org, I ran this command within my project directory:
sfdx force:mdapi:convert --rootdir mdapi_project --outputdir tmp_convert
in which '--rootdir' and '--outputdir' are specific folder locations within the same project directory.
My result is this error:
ERROR running force:mdapi:convert: Unexpected arguments: --rootdir, mdapi_project, --outputdir, tmp_convert
Why does this happen? And how to resolve?
--outputdirz
sfdx force:mdapi:convert --rootdir mdapi_project --outputdir tmp_convert
in which '--rootdir' and '--outputdir' are specific folder locations within the same project directory.
My result is this error:
ERROR running force:mdapi:convert: Unexpected arguments: --rootdir, mdapi_project, --outputdir, tmp_convert
Why does this happen? And how to resolve?
--outputdirz
try like this
Refer this link
https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_mdapi.htm