I am on Linux since 2005 and here's one of the most often used things:
I do CTRL + R to get the reverse CLI history, then I just type the first characters from: find . -type f -name ".*.sw*" -exec rm -f {} \;, find it then hit Enter.
It finds all the .swp, swo, etc files left from my vim sessions and deletes them.
Also, big lol @ npm install kitchen-sink-robot-suit :-))
That name surely needs a package!
I am on Linux since 2005 and here's one of the most often used things:
I do
CTRL + R
to get the reverse CLI history, then I just type the first characters from:find . -type f -name ".*.sw*" -exec rm -f {} \;
, find it then hit Enter.It finds all the .swp, swo, etc files left from my vim sessions and deletes them.
Also, big lol @
npm install kitchen-sink-robot-suit
:-))That name surely needs a package!
You can also use the specific -delete action with
find
.Good to know, thank you!