I think
Code:
find . -name "*.avi" -ctime -1 -exec mv {} ./temp \;
would be syntaxically more correct.
. stands for the current directory.
Read carefully the find manual.
Quote:
-n for less than n,
...
-ctime n
File's status was last changed n*24 hours ago.
...
The string `{}' is replaced by the current file name being processed ...
|
Before executing the move command, you can test the result of the find command with :
Code:
find . -name "*.avi" -ctime -1 -exec ls -l {} \;
to see if the number for the ctime filter is right, and change it until you get what you want.
Greetings.