Is it possible to make rsync output a list of all the files transferred to a separate text file? If so how?
I wondered if the --write-batch=FILE optionis what I need
Thanks
I'll take a guess that you missed some of the output of
or
As you can see from the excerpt from the man pages, I suspect this is not what you want
I suspect what you actually want to use is --itemize-changes combined with --log-file=FILE if you want to preserve what happened. Where FILE is the /path/of/choice/to/log-file
Hope that helps.
PS. It helps a lot when one takes the time to RTFM.
Hello, I'm trying to utilize rsync to backup 7 gigs of approximately 10,000 files, from what I've read this should be no sweat. However subsequent syncs seem to build an entirely new file list and the process takes a great deal of time. Reading the man page I'm not sure if I need to specify a file... (3 Replies)
I'm going to have a text file formatted something like this:
some_name http://www.someurl.com/
another_name http://www.anotherurl.com/
third_name http://www.thirdurl.com/
I need to write a script that can rsync from a file path I'll set, to each URL in the list.
Any ideas? (8 Replies)
I'd like to rsync any files that end with 'rpt' under source dir called 'opt', and here is the command i tried: rsync -avz --include='*.rpt' --exclude='*' /opt /tmp -n
but the list returned is a complete listing under opt. can anyone help out please? (2 Replies)
hi all,
Please help me with rsync.
I configured rsync to preserve timestamps using the -a option.
When i renamed fileA to fileB on source machine I have to copies at the backup server.
The aim is to keep the most recent file.
fileA & fileB has same contents.
When i renamed fileB to... (2 Replies)
I have been using rsync scripts for a while and use them to sync directories across my servers. However i need to set up an rsync script to copy only one file from a server. Is this possible with rsync? If so how would i do this? I have looked on examples on the internet and only see examples for... (2 Replies)
I am trying to sync the source tree into backup and somehow
this one file dumper.c is not in sync, see below after running the script:
/u/prj/dir$ l -tr dumper.c /v/tmp/prj_src/dir/dumper.c
-rw-rw-r-- 1 prj group 15635 Jun 20 16:28 /v/tmp/prj_src/dir/dumper.c
-rw-rw-r-- 1 prj ... (2 Replies)
Hello Friends,
I am trying to create an rsync file restore script. I will post want I have below and explain the problem I am having.
#!/bin/bash
#
# Partial Rsync File Restore Script
#
#
clear
echo
# Shell loads into /raid0/data/backup/bin/
cd .. # I cd to the backup... (1 Reply)
I wish to copy all the files & folder under /web/Transfer_Files/data/ on mymac1 (Linux) to remote server mybank.intra.com (Solaris 10) /tmp/ location
I am using Ansible tool synchronize module which triggers the unix rsync command as below:rsync --delay-updates -F --compress --archive --rsh=ssh... (2 Replies)
- run a backup job
- The jobs creates partial files one after the other, about 2 minutes interval.
What i want to do is that while the job is still running or while a file was last modified or created 3 minutes ago, the
file should be rsync to a remote server untill the last file has been... (4 Replies)