Search Results

Search: Posts Made By: muthursyamburi
Forum: AIX 09-02-2008
17,160
Posted By muthursyamburi
hi era, i wont be able to predict the depth...
hi era,

i wont be able to predict the depth of sub-dirs. also, i need to go for variable inputs and cannot write *.sh as such. that i had given as an example. it could be different at different...
Forum: AIX 09-02-2008
17,160
Posted By muthursyamburi
hi lakris, i dont think it will suite to my...
hi lakris,

i dont think it will suite to my situation coz,
1. i cannot use fixed values like "/home/training" & "*.sh". i hv to go for variables only.
2. i want files from the sub-dirs too and...
Forum: AIX 09-02-2008
17,160
Posted By muthursyamburi
I tried like this: src="/home/training" ...
I tried like this:

src="/home/training"
typ="*.sh"
find $src -name '$typ' |
while read i
do
...
...
done
that also did not work out :(.
another point to note is that i cannot pass...
Forum: AIX 09-02-2008
17,160
Posted By muthursyamburi
thanks vidhyadhar. i tried that now. still...
thanks vidhyadhar.

i tried that now. still its not displaying any files. meanwhile, if put it like this:
find /home/training -name '*.sh'

in the prompt it gives me a lot of file listing as...
Forum: AIX 09-02-2008
17,160
Posted By muthursyamburi
using find in for loop
hello gurus,

src="/home/training"
typ="*.sh"
for i in `find $src -name $typ`
do
...
..
done

the above code piece is giving this error:
find: 0652-009 There is a missing conjunction

I...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 10:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy