10-27-2009
rsync question (regarding --delete)
Hi there
Does anybody know of a way that i can, instead of issuing a
--delete when syncing one directory to another, I can instead somehow receive a list of what
would be deleted, but
not actually delete it ?
basically, people are occasionally putting files into one of synced folders, but rather than just deleting said file every night when the sync runs (which is what weve been doing up til now), we want to pull these exceptions out, mail them and get them to remove it manually (as they may wish to back it up)
personally id like them to learn the hard way, but the management , they say no
Is this possible with rsync ?
Any help would be greatly appreciated
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Tell me this - set me straight!
the --delete option says "delete files that don't exist on the sending side"
Does this mean and only mean that it will delete files from the DESTINATION that DON'T EXIST on the sending side? :confused: (2 Replies)
Discussion started by: sallender
2 Replies
2. UNIX for Dummies Questions & Answers
Tell me this - set me straight!
The --delete option says "delete files that don't exist on the sending side"
Does this mean and only mean that it will delete files from the DESTINATION that DON'T EXIST on the sending side? :confused: (1 Reply)
Discussion started by: sallender
1 Replies
3. Shell Programming and Scripting
There might be an easy solution to my problem, or maybe not, but here it is.
I am trying to rsync a Volume with 1.5 terabytes of data and send it via fibre channel to a raid array. Now normally when I rsync it scans through everything and, before copying anything, deletes any files that have... (1 Reply)
Discussion started by: Movomito
1 Replies
4. Shell Programming and Scripting
Hi All,
I am facing problem deleting Source while using the rsync command.
rsync --include=*`date --date="-1 day" \+\%Y\%m\%d`* --include=*`date +\%Y\%m\%d`* --exclude=* --delete-after -auvb -e ssh USER@SERVER:SOURCE DESTINATION
However the sync happens but not the deletion of the source... (1 Reply)
Discussion started by: amitkhiare
1 Replies
5. Fedora
When I try to back up my libraries with
rsync -azv --delete -e ssh /home/sarah/ saga:/home/sarah/bupembladaily/
I get error message
rsync: readlink_stat("/home/sarah/.gvfs") failed: Permission denied (13)
FATAL I/O ERROR: dying to avoid a --delete-during issue with a pre-3.0.7 receiver.... (7 Replies)
Discussion started by: sarahslagstedt
7 Replies
6. Shell Programming and Scripting
Hello all,
I have a problem with rsync command.
From a backup server, I use a command like the one below:
rsync -av --delete user@host:/home/user/ /home/backup_user/daily_rotating_backup/
In some folders of the user there are some files on which he has removed his write permission on... (3 Replies)
Discussion started by: freddie50
3 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I have some files in a local directory and perform an rsync command with the files in a remote directory, Now when I checked the files in the local and the remote directory, I found some strange filetypes such as this: .nfs0000000001d0c8e000002ff2 , .fuse_hidden000014da00000001 etc etc,... (3 Replies)
Discussion started by: ajayram
3 Replies
8. Shell Programming and Scripting
Hi,
I have restored backup of a directory on one server to another server. But there may be some differences because the date on which backup was taken is 5 days back, so I want to delete the files on target if something is not in sync, but do not want to copy it all, since this is already... (1 Reply)
Discussion started by: solaris_1977
1 Replies
9. UNIX for Advanced & Expert Users
rsync with --delete won't honor the delete if the source is something/*. I want the delete to work, but not to delete directories on the target that are peer to the intended directory. For example, using these source and target file structures:
Source on desktop:
~/
Money/
... (4 Replies)
Discussion started by: JavaMeister
4 Replies
10. UNIX for Beginners Questions & Answers
I need a rsync command which will exclude certain files and directories from source and copy the rest. I got this command working,
sudo rsync -avzh --exclude 'bin' --exclude 'braintree' --exclude 'colinmollenhour' --exclude 'composer' --exclude 'doctrine' --exclude 'fabpot' --exclude... (2 Replies)
Discussion started by: Siddheshk
2 Replies
LEARN ABOUT MOJAVE
gldeletesync
GLDELETESYNC(3G) OpenGL 3.3 GLDELETESYNC(3G)
NAME
glDeleteSync - delete a sync object
C SPECIFICATION
void glDeleteSync(GLsync sync);
PARAMETERS
sync
The sync object to be deleted.
DESCRIPTION
glDeleteSync deletes the sync object specified by sync. If the fence command corresponding to the specified sync object has completed, or
if no glWaitSync() or glClientWaitSync() commands are blocking on sync, the object is deleted immediately. Otherwise, sync is flagged for
deletion and will be deleted when it is no longer associated with any fence command and is no longer blocking any glWaitSync() or
glClientWaitSync() command. In either case, after glDeleteSync returns, the name sync is invalid and can no longer be used to refer to the
sync object.
glDeleteSync will silently ignore a sync value of zero.
NOTES
glSync is only supported if the GL version is 3.2 or greater, or if the ARB_sync extension is supported.
ERRORS
GL_INVALID_VALUE is generated if sync is neither zero or the name of a sync object.
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/.
OpenGL 3.3 03/08/2011 GLDELETESYNC(3G)