rsync between WinNT and Linux (--perms --owner --group)

2007-08-24 Thread Richard Ivarson
Hi, with pleasure I use Cygwin. Thanks a lot to all developers who make this great package possible! It makes WinNT usable. :-) I use a WinNT (5.x) PC with the the current Cygwin's old rsync version 2.6.6 to sync files with a Linux PC which uses the newer version 2.6.9 of rsync. (Btw. I'm lookin

Re: rsync between WinNT and Linux (--perms --owner --group)

2007-08-25 Thread Richard Ivarson
René Berber wrote: Richard Ivarson wrote: [snip] On the Linux PC there are the same two users and the group. Very unlikely. Your concept of user/group is wrong. I meant same named user (name) and group (name). On the WinNT side there's a user named "joseph" and on the Lin

Webdav cadaver: script possible?

2007-09-07 Thread Richard Ivarson
Hi, with the ugly sounding but nice Cygwin tool "cadaver" (a command line Webdav client, like ftp) I would like to automatically download some files from the Webdav server to my local drive. However, in contrast to for example lftp, I don't see a way how to do the few commands automatically.

Re: Webdav cadaver: script possible?

2007-09-10 Thread Richard Ivarson
... or maybe there is another client/programm to access Webdav from within Cygwin? ... or is there any way to feed scripted lines to a standard Cygwin command line programm? (Re-direction, somehow?) -ric -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: Webdav cadaver: script possible?

2007-09-11 Thread Richard Ivarson
Thorsten Kampe schrieb: * Richard Ivarson (Mon, 10 Sep 2007 21:37:42 +0200) ... or maybe there is another client/programm to access Webdav from within Cygwin? ... or is there any way to feed scripted lines to a standard Cygwin command line programm? (Re-direction, somehow?) Expect

Webdav batch file transfer: curl, wget

2007-09-12 Thread Richard Ivarson
Gregg Reynolds schrieb: On 9/7/07, Richard Ivarson <[EMAIL PROTECTED]> wrote: For example, until now I've to do these steps: > cadaver https://my_webdav.site.com this asks for username and password, then enters cadaver's command mode there I've to enter: * mget t

Re: Webdav batch file transfer: curl, wget

2007-09-12 Thread Richard Ivarson
Richard Ivarson schrieb: [..] A) *wget* Fetching the files with wget works: wget --user=NAME --password=PASS https://webdavserver.com/folder/fileAA.txt I've seen two handicaps: 1) I want to use a script so I don't want to store the password in the script [..] curl --user NAM

Re: Webdav batch file transfer: curl, wget

2007-09-12 Thread Richard Ivarson
Steve Holden schrieb: [..] curl --user NAME:PASSWORD https://webdavserver.com/folder/{fileAA,fileBB,fileCC,fileDD,fileEE,}.txt -O -O -O -O -O ... I forgot to mention: In contrast to A)1) with curl you can ommit the ":PASSWORD" in the script. The curl then nicely asks for it at runtime. I

Re: Webdav batch file transfer: curl, wget

2007-09-17 Thread Richard Ivarson
Many thanks to all posters on the thread; your comments have been very helpful and it works fine now. Also I learned the differences between wget and curl, too. All the best! -ric -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/probl

"Magic packet" for "Wake on LAN" ?

2007-10-15 Thread Richard Ivarson
Hi, is there a Cygwin command/program to send a "magic packet" for "Wake on LAN" (in short: WoL), or is it be possible to use a few script lines in one of the programs or interpreters supported by Cygwin (like GAWK, ...) ? http://en.wikipedia.org/wiki/Wake-on-LAN Thanks. -ric -- Unsubscri

Re: 1.7 - noacl for cygdrive

2008-11-18 Thread Richard Ivarson
Larry Hall (Cygwin) schrieb: On 11/15/2008, Richard Ivarson wrote: P.S. How can I see if my Cygwin has got version number "1.7" ? 'uname -r' Larry, thanks for your help. a 'uname -r' reports "1.5.25(0.156/4/2)" I've run Setup.exe and the Cygwin

Re: 1.7 - noacl for cygdrive

2008-11-18 Thread Richard Ivarson
Rob Bosch schrieb: [..] I set up the destinations in the mount table. I still have messed up permissions. The issues may be still lingering from before as I'm still working on resetting permissions on 10TB of data...what fun. Once the permissions are reset and I mount with the user,noacl,posix

Re: 1.7 - noacl for cygdrive

2008-11-19 Thread Richard Ivarson
Christopher Faylor schrieb: On Tue, Nov 18, 2008 at 08:35:04AM -0700, Rob Bosch wrote: Rob, many thanks for your reply. So it's not just me having massive problems with the NT permissions which are being messed up by Cygwin tools like rsync. Actually most Cygwin users should see these probl

NoNTsec confuses anti-virus tool? (was: Re: 1.7 - noacl for cygdrive)

2008-11-19 Thread Richard Ivarson
Rob Bosch wrote: [..] Rsync will work fine with 1.5.25. Just set the global NTSEC (see http://www.cygwin.com/cygwin-ug-net/ntsec.html). You have to set this variable in your system environment so that any process spawned gets it, especially if you are running rsync as a service. Rob, and ot

Re: 1.7 - noacl for cygdrive

2008-11-20 Thread Richard Ivarson
Corinna Vinschen wrote: [..] Yes, Rob meant for us RSYNC users: set CYGWIN=NONTSEC ... because NTSEC (the default) causes much trouble with the NT permissions on RSYNC'ed files. A web search shows that _many_ people run into these problems. So maybe for RSYNC the default NTSEC isn't a good idea

How to backup Cygwin packages list?

2008-05-07 Thread Richard Ivarson
Hi, I'd like to backup the packages list of my current Cygwin installation, ie the config files which list which packages Cygwin got installed. So that I could take this configuration file(s) to another PC with fresh Cygwin installation and get the same Cygwin programs I use on the other PC.

rsync's --delete and --exclude option

2008-05-09 Thread Richard Ivarson
Hi, When you use rsync with option --delete and --exclude (for example exclude='*.bak') then rsync will exclude such files from source and destination and hence also not delete *.bak files on the destination. However, would it be possible to still make rsync delete such excluded files on the

Re: please help

2008-05-14 Thread Richard Ivarson
Longyu Mei schrieb: Please at least reply once and let me know I am really on the mailing list. I can see your message (it's the first from you, however, at least for me). Unfortunately I don't know a solution to your problem. Did you download the small Cygwin.exe, start it and then let insta

Re: please help

2008-05-15 Thread Richard Ivarson
Dave Korn schrieb: Richard Ivarson wrote on 14 May 2008 20:26: Longyu Mei schrieb: Please at least reply once and let me know I am really on the mailing list. I can see your message (it's the first from you, however, at least for me). Unfortunately I don't know a solution to yo

Rsync and NTFS -> FAT32 problem

2008-09-13 Thread Richard Ivarson
Hello, I use Rsync successully to sync, for example, a NTFS formatted WinXP PC (where Cygwin's Rsync runs) with a Linux PC, and to sync the Win-PC with a GByte USB memory stick. When the memory stick is formatted to NTFS all works fine (exact command see below please). But since I formatted the

Re: Rsync and NTFS -> FAT32 problem

2008-09-13 Thread Richard Ivarson
Thanks to Sylvain, who pointed to the "-modify-window" parameter! This does do exactly what I've been looking for. It's in the man pages, but rsync's ones are very long ... and I missed it. So for people with a similar problem, here's the solution: http://linuxreviews.org/man/rsync/index.html.en

Rsync on two WinXP Machines: how?

2008-10-14 Thread Richard Ivarson
Hi, Cygwin's rsync runs successfully on a WinXP machine of mine which remote syncs with a Linux PC. All works fine. Now I'd like to remote sync two WinXP machines. How? I tried the following, without success so far : 1.) On the 2nd PC I let (auto) start "rsync --daemon" so rsync is running a

Re: Rsync on two WinXP Machines: how?

2008-10-15 Thread Richard Ivarson
Thanks Marco & Dave. I'm going to test the hints the next time I am on the remote machine. Then I'm going to report the results here. -Richard -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http:

Re: Rsync on two WinXP Machines: how?

2008-10-16 Thread Richard Ivarson
Marco Atzeri wrote: [..] try with starting sshd service Marco, how do I start the "sshd" service? I can for example enter "ssh" to get a console secure shell. What is the better way to use rsync on two Windows PCs: the service way or the daemon way? -Richard -- Unsubscribe info: ht

Re: Rsync on two WinXP Machines: how?

2008-10-16 Thread Richard Ivarson
Dave, thanks for the hints. I found there's no rsyncd.conf on my remote PC so I created an empty one and now the rsync is listing on the remote PC: 1st console: > rsync --daemon --no-detach -v -v -v -v --log-file=logbuch.txt 2nd console: > tail -f logfile.txt 2008/10/16 09:30:30 [3840] rsyncd v

Rsync on two Windows machines: way one clear

2008-10-16 Thread Richard Ivarson
I wrote: [..] Do I have to configure "modules" on the remote PC? I hoped not because it means the local PC's rsync scripts are not flexible anymore, but testwise I did so: Remote PC's rsyncd.conf reads for example: >> [modul] path = /folder/ << A "[local PC] rsync Remote::" does list the entr

--acls trouble on NTFS source & destination

2008-10-16 Thread Richard Ivarson
Hi again, I also use rsync to sync data between a Windows NTFS formatted drive and a NTFS formated USB memory stick on the same machine. Basically this works (highly similar to for example a rsync between Windows and Unix). BUT... I never ever get the correct permissions on files and folders on

Re: --acls trouble on NTFS source & destination

2008-11-06 Thread Richard Ivarson
I can't get --acls to work at all. Do you? When I use it for a RSYNC between a Windows NTFS hard drive and a NTFS USB drive, I get the following error message: sending incremental file list recv_acl_access: value out of range: ff rsync error: error in rsync protocol data stream (code 12)

Re: 1.7 - noacl for cygdrive

2008-11-15 Thread Richard Ivarson
Corinna Vinschen schrieb: On Nov 13 14:37, Rob Bosch wrote: Is there a way to specify noacl for any cygdrive referenced path? I have used rsync quite a bit in the past and rather than specifying mount point such as /var, I have just referenced the path to the directory to store (e.g. /cygdrive/

Rsync stops inmid of synchronisation

2012-02-29 Thread Richard Ivarson
Good day, I've successfully used Cygwin and in particular it's RSYNC for many years, for example to sync a Windows XP computer named Sendi to another XP computer named Desti in a local network. Since a few months however rsync is causing me endless trouble. I regularly upgrade to new version

Re: Rsync stops inmid of synchronisation

2012-03-06 Thread Richard Ivarson
LMH, thank you for your hints. So I checked all the drives and files and they're good, as well as the other hardware. Also the file's permissions are good. The idea to sync just one folder after the other is good. It turned out that those few folders with many smaller files (up to 35000 files

Re: Rsync stops inmid of synchronisation

2012-03-12 Thread Richard Ivarson
quot;-vvv" rsync prints information about the files it's sending to the remote rsync, but in my case when it has rsynced for a while it suddenly stops to print and do anything, and I got no idea what is happening... Thanks for any help or hints. -Richard Am 06.03.2012 11:02, schr

Re: Rsync stops inmid of synchronisation

2012-03-15 Thread Richard Ivarson
Am 13.03.2012 21:00, schrieb David Sastre Medina: On Mon, Mar 12, 2012 at 01:48:45PM +0100, Richard Ivarson wrote: Is there a way to increase the verbosity level of the sending rsync (aside the parameter "-v" which we can increase to "-vv" or even "-vvv")

Re: Rsync stops inmid of synchronisation

2012-03-15 Thread Richard Ivarson
quot; lines.) Unfortunately the log doesn't say anything to me, but maybe some reader knowing the internas of Cygwin and rsync command in particular, sees more? Thank you very much! -Richard Am 13.03.2012 21:00, schrieb David Sastre Medina: > On Mon, Mar 12, 2012 at 01:48:45PM +0100,

Re: rsync ERROR: out of memory in flist_expand [sender]

2012-03-20 Thread Richard Ivarson
Bruno, is this rsync problem maybe related to my rsync problem which I mentioned recently in the thread "Rsync stops inmid of synchronisation" ? (My latest post there was: http://article.gmane.org/gmane.os.cygwin/132270 ... but I don't know how to link to the entire thread.) -Richard Am 19.0

Rsync stops with time-out: solved

2012-10-26 Thread Richard Ivarson
Just in case other Cygwin users also have this problem, I'd like to describe a solution. The Problem was this: * Run "rsync" on two Windows XP computers communicating to each other directly via the (TCP) network. Example: Source computer uses rsync to sync several folders with many files to a