Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2013 13:47:50 +0100
From:      Paul Macdonald <paul@ifdnrg.com>
To:        Jos Chrispijn <kernel@webrz.net>
Cc:        "freebsd-questions@FreeBSD.org" <freebsd-questions@freebsd.org>
Subject:   Re: RSync exclusion
Message-ID:  <516FEB76.5040102@ifdnrg.com>
In-Reply-To: <516FD965.3000902@webrz.net>
References:  <516FD965.3000902@webrz.net>

next in thread | previous in thread | raw e-mail | index | archive | help

> In this /files folder, amongst others, I have another folder called 
> photos: /files/photos
>
> What I now would like to do is sync the /files folder with an 
> exclusion on the /files/photos folder
> Reason for that is that this /photos subfolder contains 12 gb on 
> photos, which I don't want to have in a daily archive (takes too much 
> disk space on a monthly basis).
> I will syn them on a daily basis to a fixed remote folder (where only 
> the updates will be appended).
>
> Can someone tell me how I can do that on one command line?
>

have you tried
           --exclude /files/photos

Paul.


-- 
-------------------------
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-------------------------
t: 0131 5548070
m: 07970339546
e: paul@ifdnrg.com
w: http://www.ifdnrg.com
-------------------------
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
----------------------------------------------------
High Specification Dedicated Servers from £100.00pm
----------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?516FEB76.5040102>