Topic "Excluding empty directories in sync?"

Author Message
skarabe
[View user's profile]

Joined: 2008-03-25
Posts: 4
Location: Lund, SE
Hi
I'm using the winscp automation script to synchronize my images and videos from my digital camera to my NAS (for backup). Locally both images and videos are in the same subtree and also sometimes in the same directory. But on the NAS, I would like to seperate them inte a Videos/ and Images/ subdir.

I use an include/exclude option to sync:

option include "*/;*.jpg;*.tif"
synchronize remote "D:\Camera" "/share/Images"
option exclude "*/;*.jpg;*.tif"
option include "*/;*.avi;*.mov"
synchronize remote "D:\Camera" "/share/Videos"

Everything works like a charm, but one thing.. Some (remote) directories will be empty, since, of course, not all local directories comtain both images and videos.

Is there a way to either not sync the empty directories (preferred) or remove them afterwards?

Thanks!
Mrten
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
WinSCP does not allow that.

I have added this request to tracker.
_________________
Martin Prikryl
skarabe
[View user's profile]

Joined: 2008-03-25
Posts: 4
Location: Lund, SE
Thanks, that would be a very nice feature to have!
Guest




Quote:
I have added this request to tracker.


That was posted back in 2008. Does WinSCP have the ability to cease a sync if the remote directory is empty?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Anonymous wrote:
That was posted back in 2008. Does WinSCP have the ability to cease a sync if the remote directory is empty?

Not yet.
_________________
Martin Prikryl
dklein

Guest


prikryl wrote:
Anonymous wrote:
That was posted back in 2008. Does WinSCP have the ability to cease a sync if the remote directory is empty?

Not yet.


What about now?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Not yet. But I've raised a priority of the request.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License