![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Perl Script Error with find command | MKNENI | Shell Programming and Scripting | 4 | 03-26-2008 08:02 AM |
| list the file created before 24 hours using ls command | jayaramanit | Shell Programming and Scripting | 7 | 09-11-2007 05:46 AM |
| how to find a file named vijay in a directory using find command | amirthraj_12 | UNIX for Dummies Questions & Answers | 5 | 10-25-2006 02:39 PM |
| Need to find created date of file in UNIX | amirthraj_12 | Shell Programming and Scripting | 7 | 07-06-2006 11:44 PM |
| find command exec error | pavan_test | UNIX for Dummies Questions & Answers | 2 | 06-13-2006 12:58 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I want to get the file which created the error when the find command was run ?
I am wrote a script to mail a list of files whose file size is ge than 0 and returns 0 but wen it finds a folder with only empty files it exits as 1. i need to modify it so that the return for this is also 0 (but it shoudn't mail.) currently : for empty files it returns 1 and working fine Please suggest me the changes i can do on it !! my script :- (it is a gereric code !!) find $1 \( -type f -size +0c \) | xargs tar cvf $NAME 2> /dev/null Last edited by guhas; 11-23-2005 at 04:04 AM. |
| Forum Sponsor | ||
|
|