[linux]Recover a directory by 'mv' command

2018-6-29 写技术

Sometimes mv a directory to a exist directory will cause error.

 mv /home/dd/bb /home/cc/bb

If bb has always created in cc directory,the bb will be moved to bb as a subdirectory. 

So, we key like this in command while doing this: 

mv /home/dd/bb /home/cc/ -f

标签: linux

发表评论:

Powered by anycle 湘ICP备15001973号-1