[求助]拷贝文件夹能否完全覆盖
发表于 : 2008-03-20 14:03
例如 我在 root下有一个test文件夹,现在我想把usr下的test文件夹拷贝到root下,并且完全覆盖root下原有的test文件夹,该怎么办?问题是如果root下原有的test文件夹下有一个abc的文件,而usr文件夹下test文件夹中没有abc这个文件,那么这个abc文件就还会保存在root下的test文件中。而我的本意是root下test和usr下test应该完全一致。
由于其他原因不能用先删除root下test文件夹,后拷贝usr下test文件夹的方法实现
由于其他原因不能用先删除root下test文件夹,后拷贝usr下test文件夹的方法实现