[lug] exclude one file rsync

Jason Schaefer js at jasonschaefer.com
Thu Nov 11 22:52:07 MST 2010


Paul

Can't you use --exclude 'config.php' ??

On Thu, Nov 11, 2010 at 1:31 PM, Paul Nowosielski
<paulnowosielski at yahoo.com> wrote:
>
>
> Ok I got it:
>
> --filter='- config.php'
>
> Thanks!
>
> Paul
>
>
> ----- Original Message ----
> From: Paul Nowosielski <paulnowosielski at yahoo.com>
> To: lug <lug at lug.boulder.co.us>
> Sent: Thursday, November 11, 2010 13:11:03
> Subject: [lug] exclude one file rsync
>
> Hi,
>
> I'm trying to exclude on file during rsync.
> I just can't seem to be able to get it to work.
>
> my exclude is this:
>
> --exclude '.svn' --exclude 'dedup/ddproc/upload/' --exclude '*.log' --exclude
> 'config.php' "
>
> I'm trying not to sync config.php because the DB hosts are different on the
> servers.
>
> Any insight?
>
> Thank you,
>
> Paul
>
>
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
>
>
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
>



More information about the LUG mailing list