相关疑难解决方法(0)

如何将子目录(和文件)移动和覆盖到父目录?

我想移动到父目录的子目录中有大量文件和目录。目标目录中已经有一些文件和目录需要覆盖。只存在于目标中的文件应该保持不变。我可以强迫mv这样做吗?它 ( mv * ..) 抱怨

mv: cannot move `xyz' to `../xyz': Directory not empty
Run Code Online (Sandbox Code Playgroud)

我错过了什么?

command-line shell files

205
推荐指数
5
解决办法
54万
查看次数

标签 统计

command-line ×1

files ×1

shell ×1