![]() |
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 |
| Simple newbie grep question | doubleminus | UNIX for Dummies Questions & Answers | 5 | 04-06-2008 06:05 PM |
| Ok simple question for simple knowledge... | Corrail | UNIX for Dummies Questions & Answers | 1 | 11-28-2005 01:03 PM |
| Simple grep - Not sure it makes sense! | GNMIKE | UNIX for Dummies Questions & Answers | 5 | 10-22-2005 02:51 AM |
| simple grep question | UNIX for Dummies Questions & Answers | 5 | 01-27-2003 11:00 PM | |
| Simple grep questions | nitin | UNIX for Dummies Questions & Answers | 2 | 10-15-2001 12:52 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Simple grep question, but I'm out of practice
Never mind, I did more research, and now am using grep -v './temp/', dumping it into a new text file, then using mv -f to make that the original file. Thanks for reading!
--------------- Hi folks, I haven't done any scripting in years, and now I have a problem. Our backup tapes are filling up, and I'd like to remove an entire directory from the backup. The script we use creates a file for the backup (/tmp/backuplist), and I'd like to use grep to help me remove anything in the "/temp" directory. I've attached the script if you'd like an example. If someone could tell me the syntax I'd need to do to remove this from my backup, I'd greatly appreciate it - thank you! Mike Last edited by citygov; 08-02-2005 at 01:59 PM.. Reason: Found my own answer |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|