Sponsored Content
Full Discussion: Rsync exclude & include?
Top Forums Shell Programming and Scripting Rsync exclude & include? Post 302980422 by mnnn on Saturday 27th of August 2016 07:40:38 AM
Old 08-27-2016
Rsync exclude & include?

hi
I have a few folders and a few files , for example
Directory A B C D E
Files 1 2 3 4 5

I want B directory and "2" File that does not sync
But other directories and file sync

What is the solution ?
Is there a way to sync time is under one minute?
os centos 6.8
thanks...

Last edited by jim mcnamara; 08-27-2016 at 09:11 AM..
 

10 More Discussions You Might Find Interesting

1. Programming

compiling with include & libs

I like to compile a cxx file with g++ compiler. I tried with option g++ -I<include path> -L<library path> source-file but ending with compilation error in /usr/local/bin/gcc-lib/.../crt1.o I think the libraries are not taken from proper path How to compile a cxx file with libraries... (1 Reply)
Discussion started by: ls1429
1 Replies

2. Shell Programming and Scripting

Exclude & Zip

Hi In unix i want to zip the files in a directory excluding *.dmp, *.log, *.lst, *.out files in that directory. pls let me know what command to use. $zip ........ ? Thanks (1 Reply)
Discussion started by: dreams5617
1 Replies

3. Shell Programming and Scripting

Creating and using a /.rsync/exclude

Hello all, Everyone has been awesome assisting with my rsync script... Now I want to clean it up. I think the best way for me to exclude many files might be to use a rsync exclude file. So in my script I add So now then, here is my .rsync/exclude... So what is happening is the... (0 Replies)
Discussion started by: komputersman
0 Replies

4. Shell Programming and Scripting

rsync - exclude statement not working

hey all, i'm trying to rsync some dir's and files between servers and i've added an exclude statement, but it still goes out and tries to rsync the directory. I've tried the following: --exclude="/export/home/zones/lab" as well as: --exclude=/export/home/zones/lab and also:... (1 Reply)
Discussion started by: em23
1 Replies

5. Shell Programming and Scripting

rsync exclude option

Hi Frdz, i am using rsync to transfer files from source to destination. but i have one criteria like i have to tranfer only links from source to destination. in home/test/po folder i have kiran/test1 -> /home/test/lo/fg kiran/test2 -> /home/test/lo/fg2 like links are available.... (1 Reply)
Discussion started by: KiranKumarKarre
1 Replies

6. UNIX for Advanced & Expert Users

imap & rsync - doing backup & restore

Hi ALL... I have an IMAP server & I have setup rsync to copy all mailboxes (MailDir) to a remote backup machine. rsync is working fine and is copying my files. I need some advice on how to restore a particular mailbox when a user makes a request assuming she has has deleted an important... (1 Reply)
Discussion started by: coolatt
1 Replies

7. Shell Programming and Scripting

Using Grep Include/Exclude Files

I wrote this korn script and ran into a hole. I can use find to exclude all the hidden directories and to use my include file/exclude files for running a full backup find / -depth -ipath '/home/testuser/.*' -prune -o -print| grep -f include.mydirs | grep -v -f exclude.mydirs but when I... (8 Replies)
Discussion started by: metallica1973
8 Replies

8. Red Hat

SFTP user include/exclude without preventing SSH login

I have been asked to see if we can restrict SFTP access to authorised users only. There will be business users who will log on with SSH, but they are locked into a menu. They will have write access to the production data to do their job, but we don't want them to have access to read/write the... (8 Replies)
Discussion started by: rbatte1
8 Replies

9. Shell Programming and Scripting

Little help with rsync --exclude

Loving the rsync command and beginning to write some scripts with it. However I'm hung up on the --exclude function. Script is tested and works great BEFORE I put the --omit in. What am I doing wrong in my syntax? rsync $OPTS /cis/cloverleaf/cis6.0/integrator/... (2 Replies)
Discussion started by: B_ROX
2 Replies

10. UNIX for Dummies Questions & Answers

Exclude txt file in rsync

Hi Folks, I'm using rsync on Solaris 10 to backup a web server and need to exclude the cache and tmp directories. The man pages and google on rsync --exclude are ambiguous but I have tried--exclude=".*" and --exclude/remote_server/absolute_path with success only on the tmp files. Rather than make... (2 Replies)
Discussion started by: SmokeyJoe
2 Replies
GLGETSYNCIV(3G) 						    OpenGL 3.3							   GLGETSYNCIV(3G)

NAME
glGetSynciv - query the properties of a sync object C SPECIFICATION
void glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); PARAMETERS
sync Specifies the sync object whose properties to query. pname Specifies the parameter whose value to retrieve from the sync object specified in sync. bufSize Specifies the size of the buffer whose address is given in values. length Specifies the address of an variable to receive the number of integers placed in values. values Specifies the address of an array to receive the values of the queried parameter. DESCRIPTION
glGetSynciv retrieves properties of a sync object. sync specifies the name of the sync object whose properties to retrieve. On success, glGetSynciv replaces up to bufSize integers in values with the corresponding property values of the object being queried. The actual number of integers replaced is returned in the variable whose address is specified in length. If length is NULL, no length is returned. If pname is GL_OBJECT_TYPE, a single value representing the specific type of the sync object is placed in values. The only type supported is GL_SYNC_FENCE. If pname is GL_SYNC_STATUS, a single value representing the status of the sync object (GL_SIGNALED or GL_UNSIGNALED) is placed in values. If pname is GL_SYNC_CONDITION, a single value representing the condition of the sync object is placed in values. The only condition supported is GL_SYNC_GPU_COMMANDS_COMPLETE. If pname is GL_SYNC_FLAGS, a single value representing the flags with which the sync object was created is placed in values. No flags are currently supported[1]. If an error occurs, nothing will be written to values or length. ERRORS
GL_INVALID_VALUE is generated if sync is not the name of a sync object. GL_INVALID_ENUM is generated if pname is not one of the accepted tokens. SEE ALSO
glFenceSync(), glWaitSync(), glClientWaitSync() 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/. NOTES
1. flags is expected to be used in future extensions to the sync objects. OpenGL 3.3 03/08/2011 GLGETSYNCIV(3G)
All times are GMT -4. The time now is 08:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy