D will still remain, when you copy the directory, it will only replace the files in the old one, it doesn't delete the old directory first and then write the new one. If you want something to do that you'd need a script something like
Code:
#!/bin/sh
SRC=path/to/rss
DST=path/to/doc_roots
cd $DST
dirlist=( `ls -Qd */` )
numdirs=${#dirlist[@]}
for (( i=0; i < numdirs; i++)); do
currdir=${dirlist[i]}
cd currdir
rm -rf rss
cp -r $SRC ./
done
although that is just a quick example, and may not actually work properly or you.