Search Results

Search: Posts Made By: sussane
4,201
Posted By sussane
Thanks joeyg, Now i'm pretty clear.:b: ...
Thanks joeyg,

Now i'm pretty clear.:b:


Thanks to all who have helped me in this thread.:)
4,201
Posted By sussane
Thanks cfajohnson and Franklin52 Thanks...
Thanks cfajohnson and Franklin52


Thanks for the response.

Jhon:
could u please explain me the code which u gave.

if [ -f "$j" ]; then
case $j in
C*20071231*.log) ;; // I am...
1,376
Posted By sussane
Thank Band, Let me explain it clearly., ...
Thank Band,

Let me explain it clearly.,

I am currently in ServerA.

I want to connect to ServerB and ftp some files from ServerB to ServerA.

Server B as files with names
a.sh
b.sh
c.sh...
4,201
Posted By sussane
Help with test command
Plese help me on the below query.


for j in *.20071231* *.ctl *.dat
do
(
if [ -f "$j" && "$j" -ne "C*20071231*.log" ] then
cp "$base/*.*" "$base1"
fi
)
done

My...
1,376
Posted By sussane
Help with ftp
Hi all,

Please help me on the below scenario.

I need to ftp files from servera to serverb.

files to ftp are like *.sh

i can login to remote severb from servera and give
ftp >mget *.sh...
3,666
Posted By sussane
hi otheus Is there anyway for this script...
hi otheus


Is there anyway for this script to work in such a way that
if script 2 completes/fails before script 1 (completes/fails) then all the statements for script 2 (if it completes/fails)...
3,666
Posted By sussane
Thank you otheus. Is there anyway for...
Thank you otheus.


Is there anyway for this script to work in such a way that

if script 2 completes or fails before script 1 completes or fails, then all the statements for script 2...
3,666
Posted By sussane
Thank you otheus. I am using AIX unix. ...
Thank you otheus.

I am using AIX unix.

Could u please tell me the sequence the process follows if any scripts fail.

for example:

if script1 fails then will the process wait to script2 and...
3,666
Posted By sussane
help on script execution
Hi,

Please help me on the below code of line of what it actually does

${Script_dir}/scrip1.sh &
export script1_pid=$!

${Scipt_dir}/script2.sh &
export script2_pid=$!
...
2,057
Posted By sussane
Thank you Christoph. I have used it in...
Thank you Christoph.

I have used it in script as below. But it did not work for me.

Please suggest.

for dir in "$base"/{"$var1","var2","$var3",d/e/{"$var1","var2","$var3"}/*
...
2,057
Posted By sussane
script to navigate thrugh directories
Hi,

I have a requiremnet where i need to apply logic on directories and sub-direcotories.

Example:

base="/a/b/c"
base1="/a/b/c/d/e"

subfolders in both base and base1 are same : es, ig,...
32,973
Posted By sussane
Thanks a lot johnson for your time and...
Thanks a lot johnson for your time and suggestion.;)


The code which u gave has worked very well. Thank you again for your time.
Frankly speaking u r the best.:b:
32,973
Posted By sussane
hi johnson thanks for the quick response. ...
hi johnson

thanks for the quick response.

with the failure of touch command i just want to know the name of files which are not touched so that i could perform touch manually.

could you...
32,973
Posted By sussane
Thanks to all for the quick response. But i...
Thanks to all for the quick response.

But i was thinking in doing it with for loop so that i could have better chance to check if any of files in these directories misses out the touch command....
32,973
Posted By sussane
How to loop through directories to touch files
Hi,

Please help me on this.

Suppose i have the following directory structure.
/app/data
/app/data/eng
/app/data/med
/app/data/bsc

each of the directories data,data/eng,data/med,data/bsc...
5,793
Posted By sussane
script to touch a sequence of files
Thanks a lot yogesh.

one more thing.
The files i need to touch are having date extension like a.20082512

can i code like

for file in *.20082512
do
a=$file
touch $a
if [ $?...
5,793
Posted By sussane
script to touch a sequence of files
Hi,

My requirement is i need to touch a sequence of files like
touch a
touch b
touch c

now i need the script in a way that checks if all files are touched or not.
if any file say b is not...
Showing results 1 to 17 of 17

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