Skip to content

Instantly share code, notes, and snippets.

@radusuciu
Created December 14, 2015 19:35
Embed
What would you like to do?
#!/bin/bash
find ~ -type f -name "*.mzXML" -not -path "save-me"
echo delete me? \[y/n\]?
read yesno
if [[ $yesno == 'y' ]]; then
find ~ -type f -name "*.mzXML" -not -path "save-me" -delete
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment