Hi Martin, I tend to think it would be logical to include the exclude options in the mv command as well as in the get and put.
It's impossible to do a wildcard * move and omit the directories.
Example if I want to move the root from a website into a folder but not the whole
structure with subfolders.
Well, it is not a bug. There's no mention of "option exclude" forking for "mv" command. It works for transfers and synchronization only.
BUG - MV does not honor option exclude */ for directories
Version: WinSCP 4.3.3.1340
OS: Windows XP SP3
Server OS: unknown
Transfer protocol: SFTP
Command line used
Running after login to server:
option exclude */
(to exclude directories)
mv /test/* /test/new/
(should now only move files and not dir)
But it moves every dir in the /test folder into the /test/new folder