The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 10-05-2007
devtakh devtakh is offline
Registered User
 

Join Date: Oct 2007
Posts: 34
find command

try this dude!

find /dirname -type f -mtime +1 -exec mv {} backup/ \;
or
find /dirname -type f -mtime +1 | xargs mv backup/

all the best


cheers,
Devaraj Takhellambam
Reply With Quote