Shar question
Dan Nelson
dnelson at allantgroup.com
Wed Dec 13 14:35:54 PST 2006
In the last episode (Dec 13), Beech Rintoul said:
> I'm trying to learn how to use shar. I've read the manual.
>
> If I pass a directory to shar:
>
> shar foo > foo.shar
>
> Results in a shar file. Problem is that when I unpack it I just end
> up with an empty directory. I probably need to pass it a flag or
> something, but I'm not sure which one to use.
>
> How do I make a shar file out of a directory and ALL it's contents.
If you want to get sneaky, you can use bsdtar, since that's one of its
supported output formats:
tar --format=shar -cvf foo.shar foo
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-questions
mailing list