Date: Thu, 04 Apr 2013 21:07:46 -0400 From: Joe <fbsd8@a1poweruser.com> To: FreeBSD questions <questions@freebsd.org> Subject: using pax command for archive & restore Message-ID: <515E23E2.1090906@a1poweruser.com>
next in thread | raw e-mail | index | archive | help
I archive using the pax command like this
pax -wzXt -x cpio -f ${archive_path_file} ${ip_path_file} ${ip_path_dir}
and restore
pax -rz -pe -f ${archive_path_file}
and it restores the contents back to the same location it came from
which is what I want.
Now I would like to restore that archive file to a different directory.
Tried different combinations of flags on the pax command and can't
figure out the correct combination.
pax -rz -pe -f ${archive_path_file} ${temp_dir}
just gives me a syntax error.
This has to be simple, but I can't see the trees because the forest is
in the way.
What am I missing here?
Thanks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?515E23E2.1090906>
