Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6142

Linux command to move a directory into another directory

$
0
0

I have a directory dir1 and it contains a lot of files and directories and also I have another directory dir2 and it is empty. And I need a linux command to move the dir1 with all the files and folders into dir2. The result should be like that dir2/dir1/...

I found the mv command, but it moves a file from a directory to another directory and I don't want that. Thank you!


Viewing all articles
Browse latest Browse all 6142

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>