removea all files in perticular folder instead of 1 file and folder code example
Example: delete all the files without one in linux
# delete all except the filename
$ rm -v !("filename")
# delete all except the filename
$ rm -v !("filename")