# Find and delete files and folders in OSX terminal

Finding and deleting files and folders in OSX is simple. Open your terminal. In order to just find your files/folders (non destructive):

For files:

For folders:

For files and folders

In order to delete them, just add -delete operator to the end (DESTRUCTIVE):

For files:

For folders (although you may get a warning message saying ‘No such file or directory’):

The ? symbol after the filename is a wildcard for a single character. To enable more characters, use * instead.