Closing files which contain a specified phrase

Sometimes, when editing a lot of files, it is useful to be able to close a selection of files which contain a specific search phrase. Here's how: All the files which contained the search phrase you used will be killed without being saved, leaving you with the files that did not contain the phrase.

Was this page helpful? Please email me and/or rate this page:

Optional comment

Other relevant pages

Top of page


Page Information

http://css.torrens.org/valid-html401-bluehttp://css.torrens.org/valid-css Document URI: http://stronged.torrens.org/man/examples/KillFiles.html
Page first published Tuesday the 1st of May, 2018
Last modified:Wed, 06 Mar 2019 19:14:11 GMT
© 2018 - 2019 Richard Torrens.