From 56dd81d1246d6ee3b915475e0672220eb0d625f6 Mon Sep 17 00:00:00 2001 From: Keivan Ipchi Hagh Date: Tue, 19 Mar 2024 01:33:01 +0330 Subject: [PATCH] feat: add clean script --- scripts/clean.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 scripts/clean.sh diff --git a/scripts/clean.sh b/scripts/clean.sh new file mode 100644 index 0000000..639dafc --- /dev/null +++ b/scripts/clean.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +working_dir=$(pwd) +proto_dirs=($(pwd)/protos) # ./protos/ + +# Find all files with `pb2` and delete them +find "$proto_dirs" -type f -name "*pb2*" -delete \ No newline at end of file