remove all file except one in dir python code example
Example: delete all files in a directory except
$ rm -v !("filename") #Delete all files in a directory except filename
$ rm -v !("filename") #Delete all files in a directory except filename