Topic "Have a different confirmation for deleting a non-empty dir"

Author Message
Guest




For example...

Deleting an empty dir wrote:
This directory is empty, remove dir? (can be undone, by creating the dir again)

<dir-name>

...&...

Deleting a non-empty dir wrote:
This directory is NOT EMPTY, remove dir & all its contents? (cannot be undone!)

<dir-name>

...or maybe...

Deleting a non-empty dir wrote:
This directory has <size> of data in it, remove dir & all its contents? (cannot be undone!)

<dir-name>

...<size>, for example, would say "100MB" or "100 bytes". There should be the option of disabling each confirmation separately, like allow removing an empty dir without confirmation (rmdir <dir>), but still confirm on deleting a non-empty dir (rm -r <dir>).
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Thanks for your post. This request has been added to tracker.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License