Rich Teer wrote > Now suppose that I accidentally delete a couple of those files; it is very > desirable to be able to restore just a certain named subset of the files > in an archive rather than having to restore the whole archive. I'm looking > for a tool that can do that.
Now if Joerg wasn't so terse in his replies, he could have told you that star is actually a more-comfortable-than-the-usual-tar in this regard. Since the builtin find, you may even restore files you accidentally deleted, but don't recall the exact location. Now Joerg, be helpful and give a few examples, please? For anyone who ever streamed through a tar archive to first retrieve the filenames with their paths in their glorious length and correct spelling (wait, did that start at ./export/home... or at /home ??), before starting a second run at tar to actually retrieve that file, these news should be quite welcome. Another feature I am using rather often is the option to diff a directory against its tar archive to find out what has been added/deleted/modified. (Or two directories against each other, as in (cd /tmp; star -c whatever ) | star -diff diffopts=not,times,id Note that used like this, I assume that another directory called "whatever" is right under cwd's feet at the time of calling. Both the diff and the find abilities of star are well worth investigating, I haven't enough experience using the builtin find yet, but the diff has several times been a real life saver, detecting corrupt or muddled files, or just telling apart those ugly duplicated directories. /Tatjana This message posted from opensolaris.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss