Image

Imagehal0zer0 wrote in Imagelinux

Back in my old DOS days

I came across a handy little utility called "no". You could use it to exclude certain things from the command line. For example, if I wanted to delete all the files in a directory except the .txt files, I'd type

no *.txt del *.*

As of yet I havent found a *nix equivalent inside or outside the shell. Could this be mimicked with a shell script?