[lug] exclude one file rsync

Paul Nowosielski paulnowosielski at yahoo.com
Thu Nov 11 13:31:40 MST 2010



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






More information about the LUG mailing list