For example, if you want to move folder1, folder2, folder3 to folder4, you can use the following comand.
mv -t folder4 folder3 folder2 folder1
How to Move (mv) Multiple Directories or Files to a Folder at a Time – Linux – DevOpsCube was last modified: October 16th, 2023 by