![]() |
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 Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AWK command giving wrong input | usha rao | UNIX for Dummies Questions & Answers | 3 | 04-01-2009 05:41 AM |
| whats wrong with this find statement ? | crackthehit007 | Shell Programming and Scripting | 2 | 03-26-2009 04:52 AM |
| Is anything wrong with this command | akhtar.bhat | Shell Programming and Scripting | 8 | 02-13-2009 10:16 AM |
| what i do wrong, find grep rm, help me plz | djdes22 | Shell Programming and Scripting | 4 | 04-28-2008 12:45 PM |
| Whats wrong with the mv command | dsravan | Shell Programming and Scripting | 0 | 08-10-2006 04:30 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
what is wrong with this find command
i am trying to find the files which are more than 100MB and it was created 10 days ago.
find /lola/loaded -size +102400 -mtime -10 -print | xargs ls -ltr -rw-rw-r-- 1 lola_adm gdrmp 82054170 Jun 23 06:17 /lola/loaded/ILMEMBER20090622.txt -rw-rw-r-- 1 lola_adm gdrmp 652080494 Jun 24 03:10 /lola/loaded/web_monthly_0_d0905 -rw-rw-r-- 1 lola_adm gdrmp 652080494 Jun 24 03:24 /lola/loaded/web_monthly_1_d0905 -rw-rw-r-- 1 lola_adm gdrmp 652080494 Jun 24 03:36 /lola/loaded/web_monthly_2_d0905 -rw-rw-r-- 1 lola_adm gdrmp 652080000 Jun 24 03:50 /lola/loaded/web_monthly_3_d0905 But when i tried to find the files which are more than 10 MB and it was created 10 days ago.. using the below command, the produces an output with all the files in that directory. is there anything wrong with the find command. find /lola/loaded -size +10240 -mtime -10 -print | xargs ls -ltr please help... |
| Bookmarks |
| Tags |
| find |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|