I have a folder containing files and folders.
folder/file1.jpg folder/file2.jpg folder/file3.jpg folder/subfolder1/file1.txt folder/subfolder1/file2.txt folder/subfolder2/file1.txt folder/subfolder3/ destination/
I want to move all folders (and their content) in a new folder, but not the files.
folder/file1.jpg folder/file2.jpg folder/file3.png destination/subfolder1/file1.txt destination/subfolder1/file2.txt destination/subfolder2/file1.txt destination/subfolder3/
I know that, if I wanted to select all of my jpeg files (for example), I would do
mv folder/*.jpg destination. But what is the command to select all folders?