On Fri, Sep 15, 2000 at 05:05:04PM -0700, Peter Loo wrote:
> I only want /usr/local/apache/htdocs-www/FOLDER.GIF to copy to
> /usr/loca/apache/htdocs-www-live/FOLDER.GIF.  I don't know why the same file
> "FOLDER.GIF" is getting copied to all the sub-directories.  They do exist in
> the destination sub-directories, but I only want to replace one.
> 
> Please help!
> 
> /usr/bin/rsync --delete -gHloprtv --include "*/" --include
> "FOLDER.GIF" --exclude "*" /usr/local/apache/htdocs-www/
> /usr/local/apache/htdocs-www-live 2>&1
>     FOLDER.GIF
>     archive/FOLDER.GIF
>     archive/channels/FOLDER.GIF
>     banners/FOLDER.GIF
>     banners/cbsmarketwatch/FOLDER.GIF
>     banners/cnet/FOLDER.GIF
>     banners/flash/FOLDER.GIF
>     banners/gamespy/FOLDER.GIF
>     banners/go2net/FOLDER.GIF
>     banners/softseek/FOLDER.GIF
>     banners/trailer/FOLDER.GIF
>     business/FOLDER.GIF
>     business/advertising/FOLDER.GIF
>     business/advertising/media_kit/FOLDER.GIF
>     business/advertising/media_kit/image/FOLDER.GIF

use:

/usr/bin/rsync /usr/local/apache/htdocs-www/FOLDER.GIF
        /usr/local/apache/htdocs-www-live/FOLDER.GIF

and all is ok.


Gruss
Grisu
-- 
Michael Bramer  -  a Debian Linux Developer http://www.debian.org
PGP: finger [EMAIL PROTECTED]  -- Linux Sysadmin   -- Use Debian Linux
"Wie haben andere Linux Benutzer ihr `erstes Mal' mit Linux erlebt??"
"Wir haben danach gemeinsam eine Gitanes geraucht und nochmal ueber alles 
 geredet." -- P.Vollmann und Stefanie Teufel in dcolm

Reply via email to