turd is a program I cooked up to help with this: it is like the standard du utility, except that it consults the filesystem nodump flag. This means the output of turd approximates the amount of tape space required to dump the named directory. Like du -x, turd never recurses into a different filesystem.
tar0 is a program that takes a list of NUL-terminated filenames and directory names on stdin and writes a tar file to stdout. For each filename or directory the file or directory itself is written; the contents of directories are not recursively written. To create a tar of only files changed since the last level-1 dump, use
cd /mount-point; turd -F -1 | tar0 > level1.tar
turd and tar0 ar released under the terms of the GNU General Public License, version 2 or later.
There is now a git repository for turd: http://git.unpy.net/view/turd.git/
Files currently attached to this page:
tar0 | 457 bytes |
turd | 7.3kB |
Entry first conceived on 24 March 2008, 23:40 UTC, last modified on 15 January 2012, 3:46 UTC
Website Copyright © 2004-2024 Jeff Epler