![]() |
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 |
| Post Here to Contact Site Administrators and Moderators Registered Users make ask questions and suggestions about forums, features, or content here. Get forum support here, not via email!! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using camcorder tapes to back up files | iBot | UNIX and Linux RSS News | 0 | 12-20-2007 12:20 PM |
| Back up of multiple data files | dsravan | Shell Programming and Scripting | 1 | 02-07-2007 08:35 PM |
| Can I back up all the files I work with each day using tar? | jo calamine | Filesystems, Disks and Memory | 2 | 10-01-2006 05:35 PM |
| modifying C file and linking back to project files | bruins2005 | UNIX for Dummies Questions & Answers | 1 | 06-22-2006 11:08 PM |
| Bring back removed files | Reza Nazarian | UNIX for Dummies Questions & Answers | 2 | 07-23-2001 10:52 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi Experts,
I want to delete the log files which is created 15 days back. 1st I want to view the files and later I want to delete viewed files I have tried with following command but its not working. find . -name '*.log' -mtime +15 -exec ls -ltr {} \; This is showing the list which shows not only 15 days back files , its showing other than that also. What mistake I have done. Can anybody help me. Thanks & Regards, Vidya |
|
||||
|
The "-mtime +15" expresssion shows files modified 15 days ago OR MORE. Remove the sign from the number for exactly 15 days ago as in:
find . -name '*.log' -mtime 15 -exec ls -ltr {} \; There might also be some confusion with the atime, mtime, and ctime if the above command doesn't filter out your unwanted files. Best of luck. |
|
||||
|
transfer of Unix to another hard drive Ver. 3.2
I running out of space on my hard drive, I need to transfer the os to another HD or delete some files too try to free space. what commands can I use to do this and to delete some files.
Andrew |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|