Synchronize to different subdirectory possible?

Advertisement

Rustynever
Joined:
Posts:
1

Synchronize to different subdirectory possible?

I am looking at synchronizing local files with remote ones. My difficulty is that I want to put the files into a subdirectory at the remote site. That is:

For any newer file found in directory 'alpha' locally put the newer file into the remote directory 'alpha/input'.

I want to use the /input subdirectory at the far end so that I can delete any other files in there and not touch the user's files in his main (remote) alpha directory.

This goes for all of the many local directories. (The local directories are all of the one depth.)

That is, any newer files in 'beta' directory should go to remote 'beta/input'

In short, would something like this work:
synchronize remote -delete d:\*\* e:*/input/*

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: Synchronize to different subdirectory possible?

No, this is not supported.

But it should not be difficult to script this using WinSCP .NET assembly from a PowerShell script (or other language).

Reply with quote

Advertisement

You can post new topics in this forum