04-18-2012
one way could be to connect to ftp server and get the size of files only, and reconnect after a min to get the size of files again. Compare the size of files, if they are same you can copy files else try after some time.
Last edited by 47shailesh; 04-18-2012 at 01:36 AM..
Reason: grammar
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi
i am having 2 servers.... one having windows & the other one is having Solaris on it. Now i need to fetch files from windows server and copy them on to solaris server.
the problem is that a new folder is created after every one hour in the window server and i have to fetch 2 files from this... (5 Replies)
Discussion started by: rochitsharma
5 Replies
2. UNIX Desktop Questions & Answers
After giving
grep -A4 "feature 1," <file name>
I have extracted the following text
feature 1,
subfeat 2,
type 1,
subtype 5,
dump '30352f30312f323030392031313a33303a3337'H -- "05/01/2009 11:30:37" --
--
... (1 Reply)
Discussion started by: shivi707
1 Replies
3. UNIX for Dummies Questions & Answers
Does anyone know why this could be happening? User tries to save into a directory, but gets the error message.
I checked permissions on directory and see the following:
drwxrwxr-x 10 root pm 1024 Nov 22 14:46 Folder 1
drwxrwxr-x 10 root pm 1024 Oct 19 ... (1 Reply)
Discussion started by: scrivic
1 Replies
4. Shell Programming and Scripting
Hi Experts,
I have created a table with columns as empname,empid,phone,shiftname. Now I am having a .csv file format which contains the shift datas of the employees. I have to fetch this file and compare with the table I created to send an alert to the specified user. (2 Replies)
Discussion started by: micky3112
2 Replies
5. UNIX for Advanced & Expert Users
Hi Friends,
I have to write a script to find the file name in the directory.
file name in the directory is like
sourcefile_abc_001.txt
sourcefile_abc_002.txt
sourcefile_abc_003.txt.
valuename in the file i.e. between '_' and .txt i.e. 001 or 002 or 003 will be in another file and I... (1 Reply)
Discussion started by: manish8484
1 Replies
6. Shell Programming and Scripting
Hi,
i am using below command in shell scripting and getting the output.
echo "dis qc(*) CLUSTER($clus) clusqmgr"|runmqsc -e XX.QM.CNEDCT1|egrep 'QUEUE|CLUSQMGR'|sed '$!N;s/\n/,/'|grep -v XX.QM.CNEDCT1here i think i need to put the output in a file and fetch for every CLUSQMGR.
Output coming... (0 Replies)
Discussion started by: darling
0 Replies
7. Shell Programming and Scripting
I have an input file with contents like :
'1LTYSJSD2KQ8KLE' -audit_grp_id , internal error qty < recycle qty requested, skipping record
'1LTYSJSD2KQ8KLE' -audit_group_id, 0 records has been written, 1 was skipped
'1LTZLJRDFBEWJX9' -audit_grp_id , internal error qty < recycle qty requested,... (3 Replies)
Discussion started by: rkrish
3 Replies
8. Shell Programming and Scripting
I have a configuration file namely: abcd, that will be use for some service (like gammu)
Inside that configuration file:
number1 = 66673527
number1 = 8373272
How can I make the file to search the number1 and number2 from a mysql database?
Any help will be very appreciated. Thanks (1 Reply)
Discussion started by: jazzyzha
1 Replies
9. Shell Programming and Scripting
Hi All,
I'm facing issue while using script.
Chk_Etl_Status=`cat /dstage/questnet/qnetdv/input/Etl_Status.dat|cut -d"," -f1`
echo Chk_Etl_Status=$Chk_Etl_Status
above result is giving me sometime value as 1 and sometime error message as
Chk_Etl_Status=
dsjoblaunch.sh: test: Specify a... (5 Replies)
Discussion started by: Amit786
5 Replies
10. Shell Programming and Scripting
Hello All.
We are getting one zip file from another server daily. The size of the zip file will be around 4.5 gb that takes time to download completely. I have to process that file furthest once get downloaded completely. I have written one code for that, but i need suggestion whether it is a... (7 Replies)
Discussion started by: looney
7 Replies
uusnaps(1M) uusnaps(1M)
NAME
uusnaps - sort and embellish uusnap output
SYNOPSIS
DESCRIPTION
The commands, including are targeted for removal from HP-UX; see the below.
runs (see uusnap(1M)) and post-processes the output into a more useful form. It sorts output lines in ``Pareto-style'', showing first
those remote systems with the greatest number of files, next files, and then files.
inserts a after the number of files on those lines where is not equal to (2 x + This may be a sign of missing or orphaned transaction
parts. Use to check (see uuls(1)).
adds summary information after all output. The first line is a total of the numbers of and files. The second line contains a grand total
number of transaction files, followed by the number of directory bytes this represents. This is an indication of the true size of the
directory itself if all empty entries were squeezed out. Finally, if it appears that transaction files might be missing or orphaned,
returns the number of missing or excess files.
WARNINGS
Use of commands, including is discouraged because they are targeted for removal from HP-UX. Use ftp(1) or rcp(1) instead.
assumes that each directory entry takes 24 bytes.
SEE ALSO
uusnap(1M), uuls(1).
TO BE OBSOLETED uusnaps(1M)