Search Results

Search: Posts Made By: Shiv@jad
12,860
Posted By Shiv@jad
In the above directory structure mentioned by you...
In the above directory structure mentioned by you I want only "bla/yoyo/last/some" to be printed.

i.e The longest unique path. Here the last node is "some". I hope it clears now.
12,860
Posted By Shiv@jad
Its not necessary the last node is always...
Its not necessary the last node is always "last"
12,860
Posted By Shiv@jad
In short i want all the possible unique longest...
In short i want all the possible unique longest paths under base dir
12,860
Posted By Shiv@jad
Tree directory structure of Unix to get final node path
Hi,

I want to list all the last directories from mentioned base path.

for eg: If i have a base path say /base/base1/

How can i get the path till last node in tree like directory structure...
5,278
Posted By Shiv@jad
Records are not getting segregated.I cant see any...
Records are not getting segregated.I cant see any records written to the new file where I am redirecting records.
5,278
Posted By Shiv@jad
Yes I am looking for this kind of output however...
Yes I am looking for this kind of output however the script is not segregating records for me.
5,278
Posted By Shiv@jad
its giving me error awk: The statement cannot...
its giving me error
awk: The statement cannot be correctly parsed.
The source line is 1.
syntax error The source line is 1.
The error context is
>>> {if($1*~ <<<
5,278
Posted By Shiv@jad
What if the record's first field is...
What if the record's first field is "Event:number" and i want to check only for number match (neglecting Event word) against number file.
5,278
Posted By Shiv@jad
Can you please let me know how can i redirect it...
Can you please let me know how can i redirect it to some different file.
5,278
Posted By Shiv@jad
Thanks a lot this is what i needed will try this...
Thanks a lot this is what i needed will try this code block
5,278
Posted By Shiv@jad
The sample numbers are 027245799 010479168 ...
The sample numbers are
027245799
010479168
015286940
043385828
and sample recors are nothing but the records with comma seperated fields wherein we have to search these numbers in first comma...
5,278
Posted By Shiv@jad
seperating records with numbers from a set of numbers
I have two files one (numbers file)contains the numbers(approximately 30000) and the other file(record file) contains the records(approximately 40000)which may or may not contain the numbers from...
3,133
Posted By Shiv@jad
Is there any direct function like trim?
Is there any direct function like trim?
3,133
Posted By Shiv@jad
Triming spaces for any variable
Hi,

I want to trim the spaces on left side of the variable value. For eg: if it is 4 spaces followed by value, All the spaces on the left should be supressed.

Easy but want it quickly.
...
3,315
Posted By Shiv@jad
Urgent: How can i get the missing records from one file out of two
Hi,

I have two files say A and B, Both files have some common records few records which are unique to file A and unique to file B.

Can anyone please help me out to find the records which are...
5,365
Posted By Shiv@jad
Hi blowtorch, I am using the following line in...
Hi blowtorch,
I am using the following line in my script.
ftp -ivT -n $HOST_NAME << ENDSCRIPT >> $LOGFILE

When i used it it gave me"invalid option -T"

Trying in a loop will be quite...
5,365
Posted By Shiv@jad
Performance issue with ftp script.
Hi All,

I have written a script to FTP files from local server to remote server. When i try it for few number of files the scripts runs successfully. But the same script when i run for 200-300...
11,744
Posted By Shiv@jad
Hi all, I am not able to get the count of files...
Hi all,
I am not able to get the count of files ftped on remote host, in the log file i am creating on local host.
Though i am capturing all ftp msges in log file,i wish that final list of all...
11,744
Posted By Shiv@jad
thanks!! thanks for clearing my doubts. :)
thanks!!
thanks for clearing my doubts. :)
11,744
Posted By Shiv@jad
Thanks All :) It worked fine.but please clear...
Thanks All :)
It worked fine.but please clear my concepts what is '2>$1' means?
what purpose is solved by writing debug?
and what does set -v do? How does it will affect the functionality if i...
11,744
Posted By Shiv@jad
Thanks for your quick reply madhan, but its...
Thanks for your quick reply madhan, but its giving me error as file can not be created. my script is as follows.


ftp -v -n $HOST_NAME <<cmd >>LOGFILE
user $HOST_USERNAME $HOST_PASS
...
11,744
Posted By Shiv@jad
Thanks!! Its ok but i am able to transfer files...
Thanks!! Its ok but i am able to transfer files on remote host through scripting the problem i have is in counting number of files ftped there on remote host.

please see the 4th post from Shiv_jad...
11,744
Posted By Shiv@jad
Thanks Girish!! I am able to connect to remote...
Thanks Girish!!
I am able to connect to remote host and also able to ftp the files there.
The problem that now i am facing is i want to take the count of files ftped.

I have taken the count on...
11,744
Posted By Shiv@jad
Ftping through unix script
Hi all,

I am trying to write a script to connect to remote host and ftp some files there.
The problem i am facing is,I dont know how to specify username and password for remote host through...
Showing results 1 to 24 of 24

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