I downloaded a bunch of images files but they are ordered recursively by month and day so there is a folder and a file for the day of the month, I am trying to loop through all the files found by the find command and move them to just one folder in my home directory.
mv find ~/Downloads/skydrive* -name *.jpg
-exec mv ~/temp {} \;
it's not working it says directory doesn't exist, I have also tried a for loop but I get the same result. any light on this? Thanks in advance.