Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我尝试将目录递归复制到另一个目录时,我收到一条错误消息。如果 foo 是我的源并且 bar 是我的目标目录,我会收到错误消息
“不能用目录“foo”覆盖文件“bar/foo”
我的 tcl 命令是
file mkdir "bar" file copy -force ./foo bar
我哪里错了?
您可以使用执行:
exec cp -f ./foo bar
它总是对我有用。