Ver código fonte

added rmbut - removes everything but a regexp-capable first argument (-rf) from current directory

master
Bryan Pedini 6 anos atrás
pai
commit
ff1df27eb4
1 arquivos alterados com 3 adições e 0 exclusões
  1. +3
    -0
      noos-noarch/home/bryanpedini/bin/rmbut

+ 3
- 0
noos-noarch/home/bryanpedini/bin/rmbut Ver arquivo

@@ -0,0 +1,3 @@
#!/usr/bin/env bash

ls "$(pwd)" | grep -v "$1" | xargs rm -rf

Carregando…
Cancelar
Salvar