![]() |
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 |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Secure Search Returns Best Results | iBot | Oracle Updates (RSS) | 0 | 04-06-2008 05:10 AM |
| need to move find results | pimentelgg | Shell Programming and Scripting | 9 | 12-20-2007 06:00 PM |
| find results | Carmen123 | UNIX for Dummies Questions & Answers | 5 | 08-10-2005 10:27 AM |
| script returns prompt | kburrows | UNIX for Dummies Questions & Answers | 3 | 10-06-2003 10:12 AM |
| cant find command that returns blank line | jeffersno1 | UNIX for Dummies Questions & Answers | 2 | 11-15-2001 04:14 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
FIND returns different results in script
When I execute this line at the command prompt I get a different answer than when I run it in a script? Any ideas on how to resolve? I'm trying to find all files/dir in a directory except files that start with the word file.
Once I get this command to work, I will add the "delete" part to the command. Just trying to make sure I have all the right files listed first. COMMAND LINE svdw1234 : find . -mtime -1 ! -name file\* . ./test_purge svdw1234 : SCRIPT + find . -mtime -1 ! -name file\* . ./test_purge ./test_purge/file_test_purge_subdir.txt ./file_sqr_test.txt ./file.txt + return_code=0 Thanks, Barbara |
| Bookmarks |
| Tags |
| mtime |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|