Signed-off-by: Nico Schottelius <nico@manager.schottelius.org>
This commit is contained in:
Nico Schottelius 2017-07-19 17:15:41 +02:00
commit df2daf524d
641 changed files with 140617 additions and 12 deletions

16
link-webs Executable file
View 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