假设你有这个文件夹
foo
您可以在 Bash 中运行此命令
cp -r --no-target-directory foo bar
它会创建
foo
bar # same contents as foo
然后您可以重新运行命令而不更改结果。如何使用 PowerShell 做到这一点?
假设你有这个文件夹
foo
您可以在 Bash 中运行此命令
cp -r --no-target-directory foo bar
它会创建
foo
bar # same contents as foo
然后您可以重新运行命令而不更改结果。如何使用 PowerShell 做到这一点?