From owner-freebsd-questions@FreeBSD.ORG Fri Sep 9 09:00:00 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6750F16A41F for ; Fri, 9 Sep 2005 09:00:00 +0000 (GMT) (envelope-from gjbailey@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB53843D4C for ; Fri, 9 Sep 2005 08:59:59 +0000 (GMT) (envelope-from gjbailey@gmail.com) Received: by wproxy.gmail.com with SMTP id i21so1176141wra for ; Fri, 09 Sep 2005 01:59:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=UYAApAMLFifvr+2ZiBkk1/urSgdfhELYzUawZmiC9DGxR/b3sz4ZOlHnX8nXt7Mf5QMMhB2+pPv/9+v8zTp1K4rumjAcwPLWUNrWgM42CfaBwfGRjBJm5vWznXtkTlFKEO2q3xe+tHtpHAE7Du2L84hq21fzHAWIfo9Z64+3G6Q= Received: by 10.54.30.50 with SMTP id d50mr109839wrd; Fri, 09 Sep 2005 01:59:56 -0700 (PDT) Received: by 10.54.84.1 with HTTP; Fri, 9 Sep 2005 01:59:56 -0700 (PDT) Message-ID: <48a5f32a05090901591a16c062@mail.gmail.com> Date: Fri, 9 Sep 2005 10:59:56 +0200 From: Gareth Bailey To: freebsd-questions Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: tar -u adds all files regardless of mod date X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gjbailey@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2005 09:00:00 -0000 Hi there, I have a directory I want to backup at /usr/dir_a/dir_b. I want to back the content of this dir to /usr/backups/dir_b so I tried the following: # cd /usr/backups/dir_b # tar -cf dir_b.tar /usr/dir_a/dir_b Now I have dir_b.tar which is 65MB in size. If i then try to update modified files by doing this: # tar -uf dir_b.tar /usr/dir_a/dir_b and I end up with dir_b.tar being 130MB (double size) which should not be the case since no files have been modified in /usr/dir_a/dir_b. I do not get this problem if I do the same in the /usr/dir_a directory. In the /usr/dir_a dir the tar file remains the same size. I would much appreciate some input! Thanks, Gareth