I want to move all the files, but not the folders, inside a folder to another directory.
I have been using this command:
find . -maxdepth 1 -type f -exec mv {} destination_folder \;
But now I want to move all the files except the ones that start with "exe_", so I tried:
find . -maxdepth 1 -type f -exec mv !(exe_*) part1a_si_atom-exp001 \;
But now it also moves directories. What can I do?