summaryrefslogtreecommitdiff
path: root/RESET_CMD
diff options
context:
space:
mode:
authoryo mama <pepper@scannerjammer.com>2014-12-02 21:31:51 -0800
committeryo mama <pepper@scannerjammer.com>2014-12-02 21:31:51 -0800
commitcc4f8980980809927e61a00cf7b8d727618ea067 (patch)
tree1a340ba30d799b08ffcffe356adbfa2cb12e4654 /RESET_CMD
first
Diffstat (limited to 'RESET_CMD')
-rwxr-xr-xRESET_CMD3
1 files changed, 3 insertions, 0 deletions
diff --git a/RESET_CMD b/RESET_CMD
new file mode 100755
index 0000000..d2ec2a5
--- /dev/null
+++ b/RESET_CMD
@@ -0,0 +1,3 @@
+#!/bin/bash
+reset(){ ls | grep -v node_modules | grep -v reset | while read a; do rm -rf "$a"; done; find node_modules -maxdepth 1 -mindepth 1 -type d | grep -v '\.bin' | grep -v 'generator' | while read a; do rm -rf "$a"; done; }
+reset