For example, if you want to move folder1, folder2, folder3 to folder4, you can use the following comand.
mv -t folder4 folder3 folder2 folder1
For example, if you want to move folder1, folder2, folder3 to folder4, you can use the following comand.
mv -t folder4 folder3 folder2 folder1
Source: Shell Command – Home Assistant