문제

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