Topic "rmdir deletes also non-empty directories"

Author Message
Arek

Guest


why rmdir deletes also non-empty dirs ?

In documentation is writen:

"In general the command can remove empty directories only."
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
Well, it says that you should not rely on rmdir to remove non-empty dirs. But it does not say that it never does.
_________________
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