public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ciprian Dorin Craciun <ciprian.craciun@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] File system meta-data indexer / checker
Date: Mon, 17 Jun 2013 00:14:17 +0300	[thread overview]
Message-ID: <CA+Tk8fzFgKAJB422CKgCHTtXm56_qp8iR1aqte-03b6s-UvtWA@mail.gmail.com> (raw)

    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.


             reply	other threads:[~2013-06-16 21:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-16 21:14 Ciprian Dorin Craciun [this message]
2013-06-17  5:52 ` [gentoo-user] File system meta-data indexer / checker Florian Philipp
2013-06-17  6:00   ` Ciprian Dorin Craciun
2013-06-17  7:21     ` Peter Humphrey
2013-06-17  7:25       ` Ciprian Dorin Craciun
2013-06-17 15:56         ` Peter Humphrey
2013-06-17 16:40           ` Ciprian Dorin Craciun
2013-06-17  7:42 ` Paul Colquhoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+Tk8fzFgKAJB422CKgCHTtXm56_qp8iR1aqte-03b6s-UvtWA@mail.gmail.com \
    --to=ciprian.craciun@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox