From cc4f8980980809927e61a00cf7b8d727618ea067 Mon Sep 17 00:00:00 2001 From: yo mama Date: Tue, 2 Dec 2014 21:31:51 -0800 Subject: first --- RESET_CMD | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 RESET_CMD (limited to 'RESET_CMD') 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 -- cgit v1.2.3-70-g09d2