VMware Cloud Community
Sangokan
Enthusiast
Enthusiast

Can't get rid of some vm folders

Hi,

I have two vm folders that i can't delete. They have been removed from the inventory though.

How can i clean and purge VM folders?

0 Kudos
3 Replies
Dave_Mishchenko
Immortal
Immortal

You can do it at the console or via SSH. If you connect via SSH with a regular login you'll want to then run the command su - to switch to the root login. You can then use rm * to delete files in the folders and rmdir to delete the folders.

atc
Contributor
Contributor

It's easier to use WinSCP3, a gui SSH app.

Texiwill
Leadership
Leadership

Hello,

That truly depends on how your server is setup. If you do not allow root logins over SSH(the default and recommended setting), then generally the GUI SSH apps have issues removing directories.

Best regards,

Edward

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos