Skip to content

Instantly share code, notes, and snippets.

View codingwithsaeed's full-sized avatar
🎯
Focusing

Saeed Ahmadi codingwithsaeed

🎯
Focusing
View GitHub Profile
@codingwithsaeed
codingwithsaeed / purge-build.sh
Created June 18, 2019 04:54
Bash script for cleaning '.gradle' and 'build' folders in android workspace
#! /bin/bash
clear
echo -e "\nHello ;) \nLets purge all '.gradle' and 'build' directories.\n"
for directory in */ ; do
cd $directory
echo "cleaning in $directory"
if [ -d .gradle ];then
rm -rf .gradle
fi
if [ -d app ];then