cp file by date
dear all,
does anyone have experience to copy file in cestos filter by date, example I want to copy file only updated on 17-Apr-2008, how should I use cp command? Best Regards; Boly |
Consider using the command "find" to locate files based on date. Without knowing your full requirements, "find" might suit (or might not).
Code:
find /dir -mtime +1 -exec cp {} /dest/dir/. \; |
All times are GMT -5. The time now is 01:34 PM. |