Moving and deleting contents of subdirectories

Advertisement

ozdemircili
Joined:
Posts:
3
Location:
Spain

Moving and deleting contents of subdirectories

Hi,

I have a server that has multiple folders and each folder has its own files inside them.

I would like to use Synchronize function with delete option.

The problem is when I synchronize the files winscp deletes all folders and files inside them.

Is there any way to keep the folders and delete only the files inside them after synchronizing?

Thanks in advance.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: Moving and deleting contents of subdirectories

There's no way.

Btw, I suppose the folders do not exist localy, right?
_________________
Martin Prikryl

Reply with quote

ozdemircili
Joined:
Posts:
3
Location:
Spain

Re: Moving and deleting contents of subdirectories

martin wrote:

There's no way.

Btw, I suppose the folders do not exist localy, right?

Actually they will be existing in time. For the 1st time sync I will have 150 folders prepared and from then on Ill have to look inside every folder in remote if there is any change and move it inside the same directory that I have in local.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: Moving and deleting contents of subdirectories

So do you want to delete local or remote empty folders?
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum