how to delete all files in current directory in mac code example Example: remove all files in a directory mac ksudo rm -r * //terminal command on mac