At 07:47 AM 2/7/2005, you wrote:

Hi All

May look a bit novice at time, but let me know if i can just have a symlink of domains folder to an external directory. the server has thousands of domains.

Its a bit urgent at the moment.

Regards,
Tanmaya

yes, it works just fine. i use the following script to do my 'moves':

#!/bin/sh
cd /u1/domains/2
if [ $# -ne 1 ]; then
echo "\nUSAGE: migrator-2 domainname\n"
exit 0
fi
DOMAIN=$1
chmod +t ${DOMAIN} && \
mv ${DOMAIN} /u2/domains/2 && \
ln -s /u2/domains/2/${DOMAIN} \
&& chmod -t ${DOMAIN}


Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com




Reply via email to