Topics: Life science. Biology. Biotechnology and Biomedical research. Bioinformatics and Computational Biology. Programming for Biologists. Lab protocols and methods. Paper reviews. Data science. Programming in R, C, C++, Perl, Python, Excel, basic and advanced Unix, shell scripting, awk scripting, vim editing, regular expressions. Custom script development.
How to remove all files except one in unix using find
In some case you need to delete all files in current folder except for a file of interest. You can do this with find command by adding ! to specify that you don't want a match with a file of that particular name.