Computing.Net > Forums > Unix > hw 2 search fr *.txt in current dir

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

hw 2 search fr *.txt in current dir

Reply to Message Icon

Name: yash_yadav1
Date: September 30, 2008 at 23:30:12 Pacific
OS: SUN-OS
CPU/Ram: NA
Product: NA
Comment:

i need to search for *.txt in the current directory(excluding sub-directories) and need to itirate through each *.txt i.e. my requirement is to pick each *.txt in the current dir n pass it to other script. this script shd run in the back-end 24*7 and whnevr a new *.txt comes it shd do the above process.
any clues on hw to do it..?




Sponsored Link
Ads by Google

Response Number 1
Name: wollie
Date: October 2, 2008 at 02:14:55 Pacific
Reply:

he???
could you clarify your request?

Wollie


0

Response Number 2
Name: yash_yadav1
Date: October 14, 2008 at 04:36:59 Pacific
Reply:

i need a script which shd run for infinate loop and it should poll the current directory (excluding sub-directories)and whenevr a new *.txt comes, it shd call other script say temp.sh with this new *.txt as argument..


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: hw 2 search fr *.txt in current dir

Comparing all files in current dir www.computing.net/answers/unix/comparing-all-files-in-current-dir/4102.html

find files in current dir ONLY www.computing.net/answers/unix/find-files-in-current-dir-only/4800.html

unix programs www.computing.net/answers/unix/unix-programs/6616.html