delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/22/07:51:03

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=nsx
S8W3W5ldVZjQkOHnpTqTUyWotoTfnxxC4zT+oKFb+ja/oViYSd4kCigXuNn0NA95
wGulbAie6MbCIf6q8xuqv+jMPjx5Y82wvvFjfs6yK3n0XRNZioighOe1zTQNbgNI
2TJe+KBXZnow/y0wlXsYn+mXdjh1568ORx1wQjMs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=qNr0uLxfk
dhBJqLGytIfMMDrsso=; b=yxBLAgb6LCLo4TIjuVOpbpo4Yl+5jhjot1MLSlXY2
aPuTEgKhcer1xn+CylP3zZuwXwKHiyUlizNzp7TN7blwiBeyg0JlElsqK/PLi/Yi
ITwGklsFQ8RLRXClVq4lUhvnVwHj1qDFnybqcIASCM/t9qX6PjWGCjGJF8sEBw0D
9I=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Paul <Paul DOT Domaskis AT gmail DOT com>
Subject: workflow idiom to compare zip/tgz with folder subtree
Date: Tue, 22 Sep 2015 11:50:23 +0000 (UTC)
Lines: 14
Message-ID: <loom.20150922T134912-790@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

I currently take snapshots of selected portions of a folder subtree using
zip files.  Sometimes, I use command-line zip, but other times I'll use the
Windows Compressed Zip folder.  I find myself frequently unzipping the
snapshots into temp folders just so that I can use the unix diff utility
(via cygwin) to see what the differences are with the live folder tree.  Is
there a way to take regular snapshots that I can compare with the live
folder subtree without having to unpack it?  I'm not married to zip. 
However, tar doesn't quite do it.  My vague recollection is that it will
check that the files in a tgz snapshot matches what is in the live folder
subtree, but it won't report what is in the live folder subtree which isn't
in the tgz snapshot.

I've also posted this to:
http://answers.microsoft.com/en-us/windows/forum/windows_7-files/workflow-idiom-to-compare-ziptgz-with-folder/631c39ae-609d-402f-88ba-2681a836f11e?tm=1442922342392


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019