![]() |
|
|
|
|
|||||||
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script to capture new lines in a file and copy it to new file | fara_aris | Shell Programming and Scripting | 0 | 05-27-2008 07:11 PM |
| Shell script to search for text in a file and copy file | imeadows | UNIX for Dummies Questions & Answers | 8 | 04-20-2008 01:41 PM |
| Copy File | JuergenW | UNIX for Dummies Questions & Answers | 2 | 09-09-2002 05:17 AM |
| using C to copy a file ... | abdul | High Level Programming | 1 | 09-11-2001 05:36 AM |
| % File Copy | Enda Martin | UNIX for Dummies Questions & Answers | 2 | 08-30-2001 03:26 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
copy file
Hi friends,
Please help me to copy files for a particular date from one dir. to different dir. Thanks shaan |
| Forum Sponsor | ||
|
|
|
|||
|
To be more precise,
find . -name '*' -[m|c|a]time [-|+]NoOfDays | xargs -I{} -t cp {} /tmp/{} You may have to decide on which time (mtime,ctime,atime) and the days (before/notbefore/exactly on)to obtain the file list. Please search the forum for more info on find command. Thanks Nagarajan Ganesan |
|||
| Google UNIX.COM |
| Thread Tools | |
| Display Modes | |
|
|