Synchronizing sub directories

Advertisement

fortunato777@...
Guest

Synchronizing sub directories

It does this:
. 2022-01-18 12:30:38.029 File: '1. 2021 MATRIX\1. ADMIN' [2021-09-16T17:04:29.321Z] [0]
< 2022-01-18 12:30:38.030 Script: Local '1. 2021 MATRIX' => Remote '/'
. 2022-01-18 12:30:38.030 Listing file "/1. ADMIN".
> 2022-01-18 12:30:38.030 Type: SSH_FXP_LSTAT, Size: 22, Number: 1799
< 2022-01-18 12:30:38.111 Type: SSH_FXP_STATUS, Size: 19, Number: 1540
. 2022-01-18 12:30:38.111 Discarding reserved response
< 2022-01-18 12:30:38.396 Type: SSH_FXP_STATUS, Size: 32, Number: 1799
< 2022-01-18 12:30:38.396 Status code: 2, Message: 1799, Server: File not found., Language:  
. 2022-01-18 12:30:38.397 Creating directory "/1. ADMIN".
when it should be synchronizing the existing subdirectory 1. 2021 MATRIX\1. ADMIN
of course, Listing file /1. ADMIN. is not found, why does it not look for 1. 2021 MATRIX\1. ADMIN
I need to preserve directory structures when updating. I would like it to only update changed files. The remote directory is potentially out of date, and the local directory might have changes.
The script I tried is:
lcd Z:\Clients
cd /
synchronize remote -preservetime=all "1. 2021 MATRIX"

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
38,209
Location:
Prague, Czechia

Re: Synchronizing sub directories

You are synchronizing local Z:\Clients\1. 2021 MATRIX against remote root /. From your description I assume you wanted to synchronize it against remote /1. 2021 MATRIX. So like this:
synchronize remote -preservetime=all "1. 2021 MATRIX" "1. 2021 MATRIX"

Reply with quote

Advertisement

You can post new topics in this forum