bash script to delete everything code example Example: bash delete everything except $ rm -v !("filename1"|"filename2")