質問

Is there a way to delete directory content using WinSCP?

I tried this, but it doesn't work:

synchronize remote -delete
役に立ちましたか?

解決

To delete a directory, use the rm command.

The synchronize ... -delete deletes only orphan files or directories.

See also How do I create script that synchronizes files and deletes synchronized files from source afterward?

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top