Help on deleting a folders contents on ALL volumes...

Hi,

I was wondering if anyone could help me in deleting the contents of a hidden folder on ALL volumes without specifying the names of the various different volumes (i.e. just tell it to do it on all volumes, I want it to work on all people’s systems), for example to delete the contents of the folder HFSExtenttables. Is this possible?

Perhaps there is a way of putting the results in a string, and performing a command (e.g. delete the contents)?

Your help would be appreciated

:slight_smile:

You can try this to list all volumes and look for the specified folder. If the folder exists, do something with it:

Jon


[This script was automatically tagged for color coded syntax by Convert Script to Markup Code]