How I can select all files in a directory and move them to another folder?
i have such directory: folder1/folder2/ [many different files here]
mv folder1 file3 - in this case only one file3 is moving in folder1
But i want to select all files in folder 2.
I try to print:
- /..
- ./* -whis -ls -other ways whis *
The 'mv' command to move files does support wildcard characters. Simply use
mv folder1/folder2/* <destination>.This command will move all files in folder1/folder2 to your specified destination.