Package: e2fsprogs
Version: 1.42.12-1
Severity: wishlist
File: /usr/share/man/man8/debugfs.8.gz
Users seeing
rdump directory[...] destination
Recursively dump directory, or multiple directories, and all its
contents (including regular files, symbolic links, and other
directories) into the named destination, which should be an
existing directory on the native filesystem.
will surely try ".", "/", "./*", etc. trying to find ways to get all the
files in the top directory dumped along with everything else.
Alas these all are met with weird error messages.
Anyway, imagine a find(1) command that couldn't read the contents of "."
without help.
So at least please document workarounds, e.g.,
# set $(debugfs -b 4096 -s 32768 -R 'ls -p' myBackup|
perl -F/ -nawle 'next unless @F; $_=$F[5]; print if /\w/')
# debugfs -b 4096 -s 32768 -R "rdump $* /ncf" myBackup
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]