remove webs
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
This commit is contained in:
parent
464322fe6c
commit
07b4f08ce1
16
link-webs
16
link-webs
|
@ -1,16 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
WEBS=/home/server/www/webs
|
||||
WWW=/home/server/www
|
||||
|
||||
for tlds in $WEBS/*/*; do
|
||||
mkdir -p $WWW/`basename $tlds`
|
||||
cd $WWW/`basename $tlds`;
|
||||
for domain in $tlds/*; do
|
||||
mkdir -p `basename $domain`
|
||||
cd `basename $domain`
|
||||
for subdomain in $domain/*; do
|
||||
ln -s $subdomain
|
||||
done
|
||||
done
|
||||
done
|
Loading…
Reference in New Issue