Skip to content

Commit e016e49

Browse files
committed
the rmcache upgrade
1 parent eecca11 commit e016e49

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.rmcache.bash

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
#!/usr/bin/env bash
22

3-
find . -type d -name __pycache__ -exec rm -r {} +
3+
## THE DELETE FILES
44
find . -type f -name '*.pyc' -delete
5+
6+
## THE DELETE DIRECTORY
7+
# ./build/*
8+
find ./build -path "*" ! -name "build" -delete
9+
# ./src/com.dvsnier.*.egg-info
10+
find ./src -path "*com.dvsnier*" -delete
11+
# find ./src -path "*com.dvsnier.*" -type d -exec rm -r {} +
12+
# find ./src -path "*com.dvsnier.*" -type f -delete
13+
# ./dist/*
14+
find ./dist -path "*" ! -name "dist" -delete
15+
# ./out/log/*
16+
find ./out/log -path "*" ! -name "log" -delete
17+
# __pycache__
18+
find . -type d -name __pycache__ -exec rm -r {} +

0 commit comments

Comments
 (0)