On Fri, Feb 15, 2002 at 09:03:32AM +0200, Einar Karttunen
wrote:> Hello
>
> Is it possible to delete or rename
> single files on remote rsync servers?
You do need to be using -r (or -a) to be able to delete something so
if you want to delete only a single file in a directory you'd need to
exclude everything else. Possible but not very practical.
> I seem to be having problems getting
> normal upload to work too:
> shellak root # ps aux | grep [r]sync
> shellak root # rsync --config=/etc/rsync/rsyncd.conf --daemon
> shellak root # ps aux | grep [r]sync
> root 27527 0.0 0.3 1656 620 ? S 09:02 0:00 rsync
--config=/etc/rsync/rsyncd.conf --daemon
> shellak root # cat /etc/rsync/rsyncd.conf
> # Einar Karttunen 13.2.2002
>
> [lt]
> read only = false
> comment = for testing
> path = /tmp/rsync-lt
> shellak root # rsync -v .profile localhost::lt
> .profile
> mkstemp ..profile.GzlM7n failed
> wrote 191 bytes read 56 bytes 494.00 bytes/sec
> total size is 83 speedup is 0.34
> rsync error: partial transfer (code 23) at main.c(576)
> shellak root #
Sounds like the /tmp/rsync-lt directory doesn't exist.
- Dave Dykstra