repo.or.cz
/
sunny256-utils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
パスワード生成スクリプト
[sunny256-utils.git]
/
rensk
blob
ba1c40ada2469608cbdf7c34ebbb604fe02c7445
1
#!/usr/bin/env bash
2
3
# rensk
4
# File ID: d938bc4c-3691-11e4-bdd6-c80aa9e67bbd
5
# Remove empty directories under current dir
6
7
find
"$@"
-depth -type
d
-print0
| \
8
grep
-azv -e
'/\.svn/'
-e
'/\.git/'
-e
'\.lock$'
-e
'\.LOCK$'
| \
9
xargs
-0
rmdir
2
>/
dev
/
null
10
exit
0