init
Signed-off-by: Nico Schottelius <nico@manager.schottelius.org>
This commit is contained in:
parent
256dc98754
commit
df2daf524d
641 changed files with 140617 additions and 12 deletions
16
link-webs
Executable file
16
link-webs
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#!/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…
Add table
Add a link
Reference in a new issue