Moving old files in Linux

Since my nas server is a raspberry pi, I was able to make it connect to windows shares and transfer archives over.

find /mnt/nasdrive/files -mtime +30 -exec mv {} /mnt/windowsshare/ \;

-mtime +30 = match files thirty days or older
{} = the file found used as a param in the exec command
\; = needed to indicate end of exec command