[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

UNIX- Help with the FIND command

Asked by joekeri in Linux Programming

I have a script file that ses the FIND command as follows:

find c:/jkeri/From-Here -mtime +7 -exec mv -f c:/jkeri/From-Here/*.* c:/jkeri/To-Here  \;

what I want it to do is to MOVE all files from FROM-HERE directory into TO-HERE directory fro files that were modifed over 7 days ago. What is happenign is that it is moving all files, even ones that were created a few minutes ago.
[+][-]11/05/09 10:33 AM, ID: 25752398Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/05/09 11:15 AM, ID: 25752836Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625