![]() |
|
|
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 |
| filtering the logs | prvnrk | Shell Programming and Scripting | 5 | 04-08-2008 10:57 PM |
| awk and sed filtering | invinzin21 | Shell Programming and Scripting | 2 | 01-11-2008 03:56 AM |
| port filtering | ujjwalmohan | HP-UX | 0 | 11-26-2007 01:18 AM |
| awk filtering ? | varungupta | UNIX for Advanced & Expert Users | 4 | 09-17-2007 03:55 AM |
| List grep results | slire | UNIX for Dummies Questions & Answers | 14 | 10-31-2006 11:42 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
filtering list results
I created a large file list using:
find . -type f -mtime +540 > test2.txt ..which searched recursively down the directory tree searching for any file older than 540 days. I would like to filter the results removing the directory name and the "/" character, resulting in only a list of the filenames, i.e.: directoryName/filename changed to, filename I think using sed or awk would work, but not entirely sure how to proceed. Thanks! ![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|