remove everyting execpt a file linix code example Example: delete all the files without one in linux # delete all except the filename $ rm -v !("filename")