![]() |
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 |
| tar extract to different directory | ammu | UNIX for Advanced & Expert Users | 1 | 07-25-2007 10:54 AM |
| Processing files within a directory one by one | skyineyes | Shell Programming and Scripting | 1 | 07-16-2007 01:44 AM |
| extract tar files without creating directory | here2learn | UNIX for Dummies Questions & Answers | 4 | 10-02-2006 07:42 PM |
| How to extract archive to a specified directory | john_trinh | UNIX for Dummies Questions & Answers | 4 | 03-02-2004 06:07 PM |
| redirecting tar extract to another directory | colesy | UNIX for Dummies Questions & Answers | 7 | 01-28-2003 04:40 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
how to extract files one by one from a directory and let some processing happen
how to extract files one by one from a directory and let some processing be done on the file
I have a directory by name INTRN which has files like INTR.0003080248636814 INTR.0003080248636816 INTR.0003080248636818 . . . . and so on and in a script i have a nawk block nawk '{ . . . }' <filename> my problem is how to how to extract files one by one from a directory and place it at the end of the nawk block,like get the file INTR.0003080248636814 from the directory INTRN and put it at the end of the nawk block for processing,aftr processing get the second file and do the same for all the files in the directory. please help me.thanks in advance. |
![]() |
| Bookmarks |
| Tags |
| directory, for-while-loops, xargs |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|