Skip to content

Instantly share code, notes, and snippets.

@haryx8
Last active May 20, 2020 03:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haryx8/e1fd64436973a4985a132f16c3958bd4 to your computer and use it in GitHub Desktop.
Save haryx8/e1fd64436973a4985a132f16c3958bd4 to your computer and use it in GitHub Desktop.
#!/bin/bash
read -p 'Desired file name (eg. *safe*, *.bak): ' name
sudo find / -name "$name"
#sudo find / -name ".DS_Store" -exec rm {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment