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 separate them into a
I use an
excludeoption 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"
Is there a way to either not sync the empty directories (preferred) or remove them afterwards?