empty archive

Cathey, Jim jcathey at ciena.com
Wed Feb 2 19:58:13 UTC 2011


># find . -depth -print | pax -wd > outfile.tar
>
>That would be more portable (not all systems have /proc)

Not all systems have a nice place you can safely write
a list file, either.  One would also need to arrange to clean
up this file afterwards, and to make sure it was not included
in the list itself, or else is given to tar as an exclusion.
Ideally the list file is auto-generated, and's a name that can
never collide.  mktemp stuff.

Either way, potential complications.  I'm still trying
to get used to /proc/self/fd/0 versus /dev/stdin!

-- Jim






More information about the busybox mailing list