Update launchSettings.json
and include a commandLineArgs
eg:
"commandLineArgs": "-s <source> -d <destination>"
Where <source>
is your source path and <destination>
is your destination
Navigate to root folder and execute the following:
dotnet run -p CopyDirectory -s <source> -d <destination>
Where <source>
is your source path and <destination>
is your destination
Navigate to root folder and execute
dotnet run -p CopyDirectory
You will be prompted for source/destination folders.