Date: Wed, 16 Jan 2002 09:31:06 -0000 From: "Philip Pereira" <info@wintellect.co.uk> To: <freebsd-questions@freebsd.org> Subject: Tar archive Message-ID: <005301c19e70$8b6eba60$b09401d4@wintellect.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hey "smart-ones-of-FreeBSD" I have a question regarding the "tar" command. I am able to archive all files within a folder and create a resultant tar file on my hard disk. However, how do I create a tar file which stores all files in a folder, including sub-folders, For example, how would I create a tar archive for the entire "/usr" folder, including sub-folders and files - so that restoration of that archive would restore all files in the /usr folder in their correct location or sub-folder. Many thanks Phil. [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 5.50.4616.200" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Hey "smart-ones-of-FreeBSD"</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I have a question regarding the "tar" command.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I am able to archive all files within a folder and create a resultant tar file on my hard disk. However, how do I create a tar file which stores all files in a folder, including sub-folders, </FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>For example, how would I create a tar archive for the entire "/usr" folder, including sub-folders and files - so that restoration of that archive would restore all files in the /usr folder in their correct location or sub-folder.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Many thanks</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Phil.</FONT></DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005301c19e70$8b6eba60$b09401d4>
