Re: sshfs: problem with rsync

2015-04-07 Thread Vincent Lefevre
On 2015-04-07 22:34:32 +0200, Pierre Frenkiel wrote: > On Tue, 7 Apr 2015, Vincent Lefevre wrote: > >With sshfs, you don't need a remote rsync because the rsync > >synchronization is entirely done on the local side (sshfs does > >the additional transfer to the remote side), but unless sshfs > >has

Re: sshfs: problem with rsync

2015-04-07 Thread Pierre Frenkiel
On Tue, 7 Apr 2015, Vincent Lefevre wrote: I don't understand what you mean here. One generally uses rsync with the local ssh client (which connects to the remote server), i.e. the typical use is with something like: rsync --rsh=ssh or equivalently rsync -e ssh I already tried that, bu

Re: sshfs: problem with rsync

2015-04-07 Thread Vincent Lefevre
On 2015-04-07 15:26:06 +0200, Pierre Frenkiel wrote: > On Tue, 7 Apr 2015, Vincent Lefevre wrote: > > >On 2015-04-07 12:55:04 +0200, Markus Schönhaber wrote: > >>Am 07.04.2015 um 12:49 CEST Vincent Lefevre: > >> > >>>On 2015-04-05 21:57:36 +0200, Pierre Frenkiel wrote: > my Android ssh serve

Re: sshfs: problem with rsync

2015-04-07 Thread Pierre Frenkiel
On Tue, 7 Apr 2015, Vincent Lefevre wrote: On 2015-04-07 12:55:04 +0200, Markus Schönhaber wrote: Am 07.04.2015 um 12:49 CEST Vincent Lefevre: On 2015-04-05 21:57:36 +0200, Pierre Frenkiel wrote: my Android ssh server uses the port 2223, and I could not find how to force rsync to use thi

Re: sshfs: problem with rsync

2015-04-07 Thread Vincent Lefevre
On 2015-04-07 12:55:04 +0200, Markus Schönhaber wrote: > Am 07.04.2015 um 12:49 CEST Vincent Lefevre: > > > On 2015-04-05 21:57:36 +0200, Pierre Frenkiel wrote: > >> my Android ssh server uses the port 2223, and I could not find > >> how to force rsync to use this port. > > > > The port is a

Re: sshfs: problem with rsync

2015-04-07 Thread Markus Schönhaber
Am 07.04.2015 um 12:49 CEST Vincent Lefevre: > On 2015-04-05 21:57:36 +0200, Pierre Frenkiel wrote: >> my Android ssh server uses the port 2223, and I could not find how to >> force rsync to use this port. > > The port is a SSH parameter, not a rsync option. So, use .ssh/config > for that. O

Re: sshfs: problem with rsync

2015-04-07 Thread Vincent Lefevre
On 2015-04-05 21:57:36 +0200, Pierre Frenkiel wrote: > my Android ssh server uses the port 2223, and I could not find how to > force rsync to use this port. The port is a SSH parameter, not a rsync option. So, use .ssh/config for that. -- Vincent Lefèvre - Web: 100

Re: sshfs: problem with rsync

2015-04-06 Thread Pierre Frenkiel
On Mon, 6 Apr 2015, ken wrote: So what app are you using on your android? Did you have to root your phone to install it? And what is the rsync command did you find to successfully sync your files? hi Ken, it seems you missed the Kushal Kumaran post, from 30 Mar 2015 14:43:05 +0530 h

Re: sshfs: problem with rsync

2015-04-06 Thread ken
On 04/05/2015 03:57 PM, Pierre Frenkiel wrote: On Sun, 5 Apr 2015, Dominique Dumont wrote: You don't need to use sshfs with rsync. rsync is able to use ssh with something like rsync -av /some/where remote_system:/to/some/where my Android ssh server uses the port 2223, and I could not fi

Re: sshfs: problem with rsync

2015-04-05 Thread Pierre Frenkiel
On Sun, 5 Apr 2015, Dominique Dumont wrote: You don't need to use sshfs with rsync. rsync is able to use ssh with something like rsync -av /some/where remote_system:/to/some/where my Android ssh server uses the port 2223, and I could not find how to force rsync to use this port. (you ne

Re: sshfs: problem with rsync

2015-04-05 Thread Dominique Dumont
Le lundi 30 mars 2015, 10:45:25 Pierre Frenkiel a écrit : > I'm using sshfs to copy some files from my PC to Android devices. > With the cp command, no problem, but trying with "rsync -av" > gives the error: > > rsync: rename "/gs2/mnt/sdcard/.file.txt.xK3ZiH" -> "file.txt": > Operation not p

Re: sshfs: problem with rsync

2015-03-30 Thread Pierre Frenkiel
On Mon, 30 Mar 2015, Kushal Kumaran wrote: Is file.txt an existing file you're trying to replace with rsync? Try sshfs with -o workaround=rename. rsync also fails if the target file doesn't exist, because rsync always create a temporary file, and tries to rename it. But it works in all ca

Re: sshfs: problem with rsync

2015-03-30 Thread Kushal Kumaran
Pierre Frenkiel writes: > hi, > I'm using sshfs to copy some files from my PC to Android devices. > With the cp command, no problem, but trying with "rsync -av" > gives the error: > >rsync: rename "/gs2/mnt/sdcard/.file.txt.xK3ZiH" -> "file.txt": Operation > not permitted (1) > > I first th

sshfs: problem with rsync

2015-03-30 Thread Pierre Frenkiel
hi, I'm using sshfs to copy some files from my PC to Android devices. With the cp command, no problem, but trying with "rsync -av" gives the error: rsync: rename "/gs2/mnt/sdcard/.file.txt.xK3ZiH" -> "file.txt": Operation not permitted (1) I first thought that the cause of the error was tha