Skip to content

Commit

Permalink
added bash script to delete all build folders
Browse files Browse the repository at this point in the history
  • Loading branch information
nisrulz committed Aug 11, 2017
1 parent c8d3a8e commit cd83f40
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions delete_build_folder.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash
# Written by Nishant Srivastava

# Call as
# ./delete_build_folder.sh

# Install trash cli
# brew install trash

# Iterate over each child directory inside the current directory
echo ""
for dir in ./*;
do
echo ""
echo ">>>> Deleting build directory inside " $dir
trash $dir/build/
echo ""
echo ">>>> Done."
done

0 comments on commit cd83f40

Please sign in to comment.