'.servoy' folder on Mac

I’m kind of a newbie on a Mac and trying to find my way around.

I’m trying to solve a Servoy issue and need to get rid of the ‘.servoy’ folder.

a) Where is it located on a Mac?
b) What is the easiest way to get rid of it or how to empty it?

Thnkx!

Hi Marc,

You find the .servoy folder in your home directory.
Of course on a unix all files/dirs starting with a period are invisible.
So open the terminal.app and type the following (you are already in your home dir)
Make sure Servoy is closed.

rm -rf .servoy

That’s it. The .servoy directory is now gone.

Thnkx Robert, will try that!

When you want to look at/edit the files and don’t want to use the terminal.app you can also try SubEthaEdit.
It has an option to read invisible files.

TextWrangler from barebones.com can open/edit/save invisible files too (and it’s free!)

Just do a command F in the finder and type in .servoy

Bill Belanger

Marc,

This topic is already a bit old and I’m sure you’ve cleared your .servoy directory just fine. The following method is provided just for the sake of completeness. All the other responses work equally well, but when you’re dealing with end users, they can be a bit complex.

Here is an easy way (for the non-technical) to remove a user’s .servoy directory:

  1. From Finder, click on the Go menu
  2. Select “Go to Folder…”
  3. Type in ~/.servoy
  4. Press the Go button
  5. Click and drag the proxy icon (the icon next to the directory name in the windowing) to the trash

Thnkx for all your replies, much appreciated.
We are looking for the most simple description to give to an enduser, so I think we’ll get there!

Compile the following AppleScript in the Script Editor and send it to your users…

set question to display dialog "Delete Servoy cache for the current user?" buttons {"Yes", "No"} default button 1
set answer to button returned of question

if answer is equal to "Yes" then
	do shell script "rm -Rf ~/.servoy"
	display dialog "Servoy cached cleared" buttons {"OK"} default button 1
end if

It will ask them if they want to clear the folder, then execute the shell command to do it.

greg.