</font><blockquote><font size="1" face="">quote:</font><hr /><font size="" face="">Originally posted by Dave_L:
2) Create the clone directories, and copy all files from the source directories to the target directories.
mkdir /example/htdocs/ubbt/foo2_dir
mkdir /example/ubbt/foo2_dir
cp -a /example/htdocs/ubbt/foo_dir/* /example/htdocs/ubbt/foo2_dir
cp -a /example/ubbt/foo_dir/* /example/ubbt/foo2_dir
(Ensure that hidden files such as .htaccess were copied.)
3) Edit</font><hr /></blockquote><font size="" face="">When trying "cp -a /example/htdocs/ubbt/foo_dir/* /example/htdocs/ubbt/foo2_dir"
this is what i get:
<pre>
cp: illegal option -- a
usage: cp [-R [-H | -L | -P]] [-f | -i] [-pv] src target
cp [-R [-H | -L | -P]] [-f | -i] [-pv] src1 ... srcN directory</pre>
Strange. Any idea of what could be wrong?