Linux常用命令07Linux下合并文件夹

~/a/
~/b/
如何将文件夹b合并到a

其实要先将b中文件拷贝到a中,然后删除b

cp -R -u ~/b ~/a
rm -rf ~/b

Leave a Reply

Your email address will not be published. Required fields are marked *

*