From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E13701381F3 for ; Sun, 16 Jun 2013 21:15:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82F8FE0853; Sun, 16 Jun 2013 21:15:00 +0000 (UTC) Received: from mail-bk0-f43.google.com (mail-bk0-f43.google.com [209.85.214.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 14AC3E07FD for ; Sun, 16 Jun 2013 21:14:58 +0000 (UTC) Received: by mail-bk0-f43.google.com with SMTP id jm2so895930bkc.16 for ; Sun, 16 Jun 2013 14:14:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=1qzoeasYJejw8BuN0KboRPkgkgRpa1RWZE3F13mYynI=; b=PgB2kemwZcYksiTbnHeWv56r/VBt1KYJic2vKFtDytluidGs43s35NQ2ctaZRsqoZX Gdv76U4gjdvj7WF+TMjPfEVZW8DEv3SCF4XjoQBX5XYtH+lqfS1BOr3KhtTF6GHI4wta yBjAqWdZtx6lQwb6KzL03JflLB3Tc6PAHfPxXKfp47wCKH1e/TQgfY4aZuKYZWRYabZf 4HpL2Suso6yOZqrs6eyOyDzrKhBLOZ1J0WF8/Qc031Uf7RZ1FznUOS+ATX4yldmLYLCi nJ6AHLl+SVOTEEgF5P1TvnZ2/g6QH8MOHianBTmneyGC/5WsS6ztkms2zzG0DxxuXmoL LZsg== X-Received: by 10.204.175.198 with SMTP id bb6mr1561708bkb.9.1371417297456; Sun, 16 Jun 2013 14:14:57 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.164.79 with HTTP; Sun, 16 Jun 2013 14:14:17 -0700 (PDT) From: Ciprian Dorin Craciun Date: Mon, 17 Jun 2013 00:14:17 +0300 Message-ID: Subject: [gentoo-user] File system meta-data indexer / checker To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 28d0a0ee-12fc-40ac-8380-798b685357b1 X-Archives-Hash: d1a19d39d95e584ccd7026fa6d71c4df Hello all! While struggling with managing various old backups --- just imagine 10 or so copies of almost the same content, some with `rsync`, some with `rdiff-backup`, yet some others on plain ISO's, all over a range of a few years --- I stumbled upon the following missing piece in the Linux tools ecosystem: a file-system crawler that records **only** meta-data, like all the info available through `stat`, plus an assortment of hashes of the files (at least MD5 and SHA-1,2 family), and optionally ACL's and extended attributes. Thus I was wondering if someone knows a tool that fits this description. I must say I've tried to do my homework, and below are a few tools that come close, but not quite... (A) `rdup` is probably the closest to what I'm searching. However there are a few issues: * it's output format is not very parsable, especially in cases like symlinks, and a few other special cases; * it doesn't escape the file names --- and from some reason I have files containing escape sequences in them... * it records only SHA-1; * it doesn't handle ACL's or extended attributes; (B) `mtree` from FreeBSD. I found two ports of it for Linux, however my main concern is how parsable is the output... (C) `md5deep` (or `sha*deep`), which only records the checksum not other meta-data. Thus, are there any other alternatives? (Just to be clear, I don't need a "backup" solution, just something to record file-system meta-data. Maybe a "meta-backup" solution... :) ) Ciprian.