![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| urgent help needed!!in copying files to /tmp at boot time,pls help! | wrapster | UNIX for Advanced & Expert Users | 0 | 04-27-2008 10:00 AM |
| Copying files created after a specified date/time | jm6601 | Shell Programming and Scripting | 2 | 11-28-2007 01:29 PM |
| Generating files with time interval of fifteen minutes | aajan | Shell Programming and Scripting | 0 | 09-25-2007 01:54 AM |
| Copying Files in the same order along with time stamps | shyam.appalla | Shell Programming and Scripting | 2 | 12-04-2005 10:44 AM |
| Time Wait interval | eloquent99 | SUN Solaris | 1 | 12-05-2003 09:56 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Copying files between two time interval
Hi All,
I am new to this forum.... Can neone please help me how to copy files between two time intervals i.e. I need to copy files from 6.30 to 9.30 on 5th June 09. Any help is appreciated. |
|
||||
|
Hi
If you know the first & last file created at 6:29 & 21:30 use the below command. find . -newer firstfile ! -newer lastfile -print -exec cp {} /directory_to_be_copied \; Else touch a dummy file and delete it after doing copy. touch 0605062909 dummyfile1 (MMDDHHMIYY) touch 0605213009 dummyfile2 find . -newer dummyfile1 ! -newer dummyfile2 -print -exec cp {} /directory_to_be_copied \; Last edited by lathavim; 07-03-2009 at 08:34 AM.. |
|
||||
|
Hi,
Thanks a lot for your reply...Appreciate your help. ![]() |
| Sponsored Links | ||
|
|