Skip to content

Instantly share code, notes, and snippets.

@andreasonny83
Last active March 26, 2020 10:49
Show Gist options
  • Save andreasonny83/14e1460e89461e509df308cef47f94da to your computer and use it in GitHub Desktop.
Save andreasonny83/14e1460e89461e509df308cef47f94da to your computer and use it in GitHub Desktop.
Find and delete bunch of files from terminal
find app/ -name '*.map' -exec sh -c 'rm "{}" ' \; # Remove all the .map files inside app/
find . -name node_modules -exec rm -rf {} \; # Remove all node_modules from inside current folder and subfolders
ssh-add -L # Print Git ssh credentials
ssh-add ~/.ssh/id_rsa # Activate SSH credentials
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment