سؤال

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