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
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..?
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..
Summary: hie there, i would like to know how do i compare files in a current directory? i don't want to compare just 2 files with the diff filename1 filename2. i need to compare all the files in the cur...
Summary: Arne: If you don't have maxdepth, try this: # find all on one line find . -type f|awk ' gsub("^./","") '|egrep -v "/" provided you execute find in the current directory, find returns files in the form...
Summary: hi, I am a student who just started learning unix. I was given with the following programs in my cirriculum. AS i am a new programmer is not able to solve them. can any one please give me the unix cod...