repo.or.cz
/
cmdllinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
cleanup
[cmdllinux.git]
/
scripts
/
_find_dirlinks.sh
blob
c76e1d88dcf6cb629343c29f923913c6a948bb61
1
if
[ !
-z
"
$1
"
];
then
2
if
[ !
-d
"
$1
"
];
then
3
echo
"Directory not found:
$1
"
4
exit
1
5
fi
6
DIR
=
"
$1
"
7
cd
"
$DIR
"
8
fi
9
10
find
-type
l
-printf
"%P
\n
"
|
while
read
link
;
do
[
-d
"
$link
"
] &&
echo
"
$link
"
;
done