search for: hongyi

Displaying 20 results from an estimated 33 matches for "hongyi".

2015 Apr 10
3
Finding specific files/directories from a remote rsync server.
...ll of its modules and the corresponding sub-directories. Say, if I want to find all of the `foo/file' on this rsync server, i.e., a file named file which is located under the foo directory. How can I do this thing within bash/shell script with the invoking on rsync client? Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
2015 Apr 18
2
Is it possiable to suppress the site-specified messages?
...________________________________________________| receiving file list ... [snip] ------------ If I want to suppress the messages before the following line with rsync client's args/options when connect to this rsync server: receiving file list ... Is this possible or not? Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
2015 Apr 15
2
How to capture the stderr of rsync and redirect it into a file?
...on not supported (code 4) at clientserver.c (849) [sender=3.0.9] rsync: read error: Connection reset by peer (104) rsync error: error in socket IO (code 10) at io.c(785) [Receiver=3.1.2dev] Why rsync cann't let me redirect the stderr of it into a file, say, aaa, for this case? Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
2015 Apr 18
2
On the case `an identical item replaces the dots with spaces' for `--itemize-changes'.
...; (this can hap? pen when talking to an older rsync). But, I cann't figure out the case for the `(2) an identical item replaces the dots with spaces'. And I've never meet such things. Could you please give me some more hints or a minimal example on this case? Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
2015 Apr 14
3
The complicated filter rule used by me worked for one Debian mirror and not for the other.
.../jessie/**installer-i386/*** \ -f +_dists/***/ \ -f -_* \ ftp.is.co.za::mirror/ftp.debian.org/ftp.us.debian.org/debian/ This time, it will give nothing. You can try the above commands for inspecting the things I mentioned above. Could you please give me some hints on this issue? Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
2015 Apr 06
2
Downloading specific files with rsync and make them keeping the original directories structures.
...inal directories structures, say, for this case, put the the Release in the following location: ./dists/Debian7.8/Release If the directory tree doesn't exist, let the rsync create the directory structure firstly and then put the file into it. Is this possible for this case? Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
2015 Apr 15
2
Does the --delete conflict with --files-from?
Hi all, I've tried to use the --files-from and --delete options together. But finally find that in this case, the `--delete' won't delete the extraneous files from dest dirs. So, does the --delete conflict with --files-from? Any hints on this issue? Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
2015 Apr 15
1
Can I let rsync only transer a part of file within specific byte ranges?
Hi all, Suppose I have a file on the remote rsync server: rsync://path/to/myfile And I want to only retrieve a part of the file based a ranges of bytes to my local host, say, 0-499, means only transfer the first 500 bytes of that file. Is this possible with rsync client? Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
2015 Apr 18
2
Skip based on checksum not worked as expected when using with complex filter rules.
...;t see an output from rsync --itemize-changes with an A/B > difference. What do you mean by saying the above things? Do you mean only the `--itemize-changes' is enough for my case? Or Do you want to see the output from my case of running on the different rsync options? Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
2015 Apr 14
1
The complicated filter rule used by me worked for one Debian mirror and not for the other.
...nclude / --exclude stuff) Of course, you can try to use them ;-) > but I wouldn't be > surprised if some of the filter rules don't work on the older rsync. Let we stay here to expect for the experiences from others similar to my case ;-) Regards > > > Paul -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
2015 Apr 17
2
Rsync a directory via a linked name.
...he command like this and it does the trick: rsync -rlKLPv --delete --delete-excluded \ ftp.cn.debian.org::debian/dists/wheezy/main/installer-amd64/current/ But, even though, I cann't figure out whether the method used by me is the most appropriate method or not for this case. Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
2015 Apr 14
2
Two same rsync commands give different results on two debian mirrors.
On Tue, 14 Apr 2015 09:32:10 +0200, Paul Slootman wrote: > On Tue 14 Apr 2015, Hongyi Zhao wrote: >> >> See the following commands: >> >> ___________________________ >> >> $ rsync -rmnv -f +_README -f -_* ftp.is.co.za::mirror/ftp.debian.org/ >> ftp.us.debian.org/debian Please see the above line including the part of line-wrapping. I'...
2015 Apr 18
2
Skip based on checksum not worked as expected when using with complex filter rules.
...temize-changes, > - --link-dest, or --write-batch you are doing something horribly wrong. So, I think that use the `-niv' combinations and then do the extract as follows: awk '/^>f/' Should enuogh for most cases to check the stuff which are need to be updated. Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
2015 Apr 16
2
Rsync a directory via a linked name.
...Considering that the sub-directories in installer-amd64 are often be renamed except the link directory name `current', so I want to only use the `current' as the directory name in my include/exclude rules for the above jobs. Any hints on how to write this rsync rules? Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
2015 Apr 18
2
Skip based on checksum not worked as expected when using with complex filter rules.
...hanges. In fact, if I was in charge > I would make -v include --itemize-changes. Thanks a lot for your hints. Based on your hints, I use the `-cniv' options combinations and do the extract as follows on the output of rsync: awk '/^>fc/' And it does the trick. Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
2015 Apr 14
2
Two same rsync commands give different results on two debian mirrors.
...ze is 1,370 speedup is 0.95 (DRY RUN) _________________________ Why the same rsync commands give different results on the above two debian mirrors? The first one failed to find anything even the README exists, while the second one succeed for the job. Any hints on this issue? Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
2015 Apr 15
1
How to capture the stderr of rsync and redirect it into a file?
...: > Because you didn't tell. > > ? 2>aaaa > > Note the missing space between die file descriptor and the redirection > operator. Then, why the following one will work, i.e., use a space between the redirection operator and the logfile: ? 2> aaaa Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
2015 Apr 04
1
Downloading a great number of files from different rsync servers for good loadbalancing and high efficiency.
...do mirror_used=`awk 'NR=='"$mirror"'' mirrors.list` rsync -amH --progress --append-verify --timeout=10 --contimeout=5 \ ${mirror_used} ${line[0]} debs/ & mirror=$[mirror+1] done < deb-file.list wait ------------------- Any hints for this issue? Regards -- Hongyi Zhao <hongyi.zhao at gmail.com> Xinjiang Technical Institute of Physics and Chemistry Chinese Academy of Sciences GnuPG DSA: 0xD108493 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20150404/6ea2a383/attac...
2015 Apr 12
0
Finding specific files/directories from a remote rsync server.
On Fri, Apr 10, 2015 at 4:11 PM, Hongyi Zhao <hongyi.zhao at gmail.com> wrote: > Say, if I want to find all of the `foo/file' on this rsync server > You'd use filter (include/exclude) rules. See in the man page about its notes on how rsync requires you to include all directories in order to traverse the tree and yo...
2015 Apr 14
0
Two same rsync commands give different results on two debian mirrors.
On Tue 14 Apr 2015, Hongyi Zhao wrote: > On Tue, 14 Apr 2015 09:32:10 +0200, Paul Slootman wrote: > > > On Tue 14 Apr 2015, Hongyi Zhao wrote: > >> > >> See the following commands: > >> > >> ___________________________ > >> > >> $ rsync -rmnv -f +_README -...