Sponsored Content
Top Forums Shell Programming and Scripting sync files from two different servers. Post 302296139 by arunsoman80 on Tuesday 10th of March 2009 12:50:24 PM
Old 03-10-2009
wget can also be used if you always need to only download the new/modified files. We do have a unix script running in PROD that uses "wget" to sync up the local directory with the remote ftp server by downloading the new/modified files.

wput can be used to do the other way round that is to only upload new/modified files to the remote ftp directory.

regards,
Arun.
 

10 More Discussions You Might Find Interesting

1. Solaris

Sync to Green vs. Separate Sync

Hi all....I have a Sun Ultra2 that I want to use with my PC monitor. I have purchased an adapter that does not work and I was told I need to change my video card setting (if I can) to Separate Sync.....my Monitor product number ends in 1343......I am running SunOS 5.7 ......anyone have any ideas? ... (0 Replies)
Discussion started by: psantinello
0 Replies

2. Red Hat

how to find the red hat servers in time sync

Hi all, Before i'm going to install application on my RHEL servers, I just wanted make sure servers in time sync. How can I find it. Thanks. (1 Reply)
Discussion started by: s_linux
1 Replies

3. Web Development

How do you sync tables in mysql between two different servers?

Hi all, I have 2 mysql databases running on two different servers (both can be accessed via ssh to each other). If I have say table ABC on server 1, how can I sync it with table ABC on server 2 if the number of records is different? Both databases are the same structure though server 2 has... (2 Replies)
Discussion started by: muay_tb
2 Replies

4. UNIX for Advanced & Expert Users

How to Sync two servers

Hi All, want to sync. two servers , both are having solaris os. If am updating any thing in one server , it will automatically sync. with the other server . Is it possible , if so den how ? (3 Replies)
Discussion started by: natraj005
3 Replies

5. Shell Programming and Scripting

Korn shell script to sync/move files that are not in use

Hello all. This may seem like a dumb/easy question but right now I have a little script I made that uses rsync to sync a directory that has files in it that may or may not be complete files. I want to come up with a better solution for this. What it is is I have a directory lets say /incomplete... (4 Replies)
Discussion started by: linuxn00b
4 Replies

6. Shell Programming and Scripting

crontab using shell script to sync files.

Hi, I developed one shell script where it will sync the files using perforce, #!/bin/bash TERM=linux export TERM clear echo "" $PATH echo "" cd /u/userk/p4/p4_client/TES_DATE echo "" echo "Sync p4 " p4 sync echo "Executing for second time " p4 -u userk -p p4net:161 -c... (8 Replies)
Discussion started by: asak
8 Replies

7. Solaris

Client does not sync date with ntp servers

We had a network problem a couple of days before that caused 1 interface to down and up. But today I have noticed that our date is wrong, our system have 4 servers and the other 3 are OK. I used <date> command, the result is: Fri Jan 2 17:57:55 ICT 1970 I have tried set date to be the same as... (3 Replies)
Discussion started by: salvation3103
3 Replies

8. Homework & Coursework Questions

java project to sync 2 files

excuse me i have an question, school projcet about writing a java programme to syncronise 2 file in network using fuse with java plz i need help (1 Reply)
Discussion started by: yohana
1 Replies

9. Shell Programming and Scripting

How can we automaitcally sync/copy files from one directoy to another ?

Hi, I would like to achieve below requirement, I have a directory "/mydir" and I want to automatically sync/copy all the content of /mydir directory to "/yourdir" directory all the time. meaning, if some application creates a file in /mydir, it supposed to be copied/available in "/yourdir"... (4 Replies)
Discussion started by: aaron8667
4 Replies

10. Solaris

Best practise for keeping cronjobs across 2 servers in sync

Hi all, I have 2 server A and B. B is acting as standby for A. The cronjobs running in A must not be run in B until failover. The activation of cronjobs in B can be manual. In server A, I am doing the following 1) create a cron/job script that does "crontab -l >... (5 Replies)
Discussion started by: javanoob
5 Replies
GLCLIENTWAITSYNC(3G)						    OpenGL 3.3						      GLCLIENTWAITSYNC(3G)

NAME
glClientWaitSync - block and wait for a sync object to become signaled C SPECIFICATION
GLenum glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); PARAMETERS
sync The sync object whose status to wait on. flags A bitfield controlling the command flushing behavior. flags may be GL_SYNC_FLUSH_COMMANDS_BIT. timeout The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled. DESCRIPTION
glClientWaitSync causes the client to block and wait for the sync object specified by sync to become signaled. If sync is signaled when glClientWaitSync is called, glClientWaitSync returns immediately, otherwise it will block and wait for up to timeout nanoseconds for sync to become signaled. The return value is one of four status values: o GL_ALREADY_SIGNALED indicates that sync was signaled at the time that glClientWaitSync was called. o GL_TIMEOUT_EXPIRED indicates that at least timeout nanoseconds passed and sync did not become signaled. o GL_CONDITION_SATISFIED indicates that sync was signaled before the timeout expired. o GL_WAIT_FAILED indicates that an error occurred. Additionally, an OpenGL error will be generated. NOTES
glClientWaitSync is available only if the GL version is 3.2 or greater. ERRORS
GL_INVALID_VALUE is generated if sync is not the name of an existing sync object. GL_INVALID_VALUE is generated if flags contains any unsupported flag. SEE ALSO
glFenceSync(), glIsSync() glWaitSync() COPYRIGHT
Copyright (C) 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. OpenGL 3.3 03/08/2011 GLCLIENTWAITSYNC(3G)
All times are GMT -4. The time now is 10:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy