-
Notifications
You must be signed in to change notification settings - Fork 0
/
clean.sh
executable file
·23 lines (21 loc) · 827 Bytes
/
clean.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#*****************************************************
# @brief: script for cleaning up files
# @author: Zee Lv
# @date: Jan 22, 2019
#************************
# clean up all build product in all sub folders
find . -name "*.o" -exec rm -rf {} \;
find . -name "*.d" -exec rm -rf {} \;
find . -name "build" -type d | xargs rm -rf
# clean up keil build product in all subfolders
find . -name "*.dep" -exec rm -rf {} \;
find . -name "*.bak" -exec rm -rf {} \;
find . -name "*.htm" -exec rm -rf {} \;
find . -name "*.axf" -exec rm -rf {} \;
find . -name "*.crf" -exec rm -rf {} \;
find . -name "*.lnp" -exec rm -rf {} \;
find . -name "*.map" -exec rm -rf {} \;
find . -name "*.uvopt" -exec rm -rf {} \;
find . -name "*.uvgui.*" -exec rm -rf {} \;
find . -name "*.lst" -exec rm -rf {} \;
find . -name "*.iex" -exec rm -rf {} \;