added rmbut - removes everything but a regexp-capable first argument (-rf) from current directory
This commit is contained in:
parent
bfb3935ff9
commit
ff1df27eb4
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
ls "$(pwd)" | grep -v "$1" | xargs rm -rf
|
Loading…
Reference in New Issue