From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 12:50:58 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3B3F014B for ; Thu, 18 Apr 2013 12:50:58 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from outbound.ifdnrg.com (outbound1.ifdnrg.com [193.200.98.38]) by mx1.freebsd.org (Postfix) with ESMTP id DACB8AA8 for ; Thu, 18 Apr 2013 12:50:57 +0000 (UTC) Received: from [192.168.100.222] (cpc2-sgyl30-2-0-cust423.sgyl.cable.virginmedia.com [80.192.35.168]) (authenticated bits=0) by outbound.ifdnrg.com (8.14.6/8.14.5) with ESMTP id r3IClpdl061214; Thu, 18 Apr 2013 13:47:51 +0100 (BST) (envelope-from paul@ifdnrg.com) Message-ID: <516FEB76.5040102@ifdnrg.com> Date: Thu, 18 Apr 2013 13:47:50 +0100 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Jos Chrispijn Subject: Re: RSync exclusion References: <516FD965.3000902@webrz.net> In-Reply-To: <516FD965.3000902@webrz.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: "freebsd-questions@FreeBSD.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Apr 2013 12:50:58 -0000 > 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 ----------------------------------------------------