bash delete everything except
# delete all except the filename
$ rm -v !("filename")
$ rm -v !("filename1"|"filename2")
Also in C++:
- restart xampp linux
- add email git not working
- shell script get arguments
- how to unstage a commit
- git bash alias commands
- install php ubuntu 20.04
- how to save a text file with a terminal command
- set head of branch at specific commit
- refresh env variable windows powershell
- how to clone all git repositories
- zsh compinit: insecure directories, run compaudit for list.
- regex last match
- uzip bash: -c: line 0: unexpected EOF while looking for matching `"'
- check postgres version in ubuntu
- pip install lightgbm
- mongo install linux
- symlink mac
- how to copy the files of a folder to another folder linux
- ubuntu subsystem windows 10 from cmd prompt
- get log from a docker machine
- git show remote url
- Git blame
- shell script current time
- sed up to first match