Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Save time with .Mac personal domains and RapidWeaver' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Save time with .Mac personal domains and RapidWeaver
Authored by: sweth on Aug 29, '07 07:00:10AM
Why not just symlink the exported site to the Sites directory? (If the exported site has to be inside the Sites directory for some reason, you could still just symlink its contents into the Sites directory, a la
$ find Sites/EXPORTDIR -maxdepth 1 ! -path Sites/EXPORTDIR -print0 | xargs -0 -J X ln -s X Sites
. If the top-level entries in EXPORTDIR could change after each export, then you might have to erase all the symlinks after each export with something like
$ find Sites -maxdepth 1 -type l -delete
and recreate them, but it would still probably be a cleaner solution than moving the files into Sites and then moving them back before each export.)

[ Reply to This | # ]