Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help Forums Windows Startup Programs Database Spyware and Malware Removal Guides Computer Tutorials Uninstall Database File Database Computer Glossary Computer Resources
 

Welcome Guest ( Log In | Click here to Register a free account now! )



Register a free account to unlock additional features at BleepingComputer.com
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.
Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Important Announcement: In recognition of reaching a milestone of 1,000,000 posts on the site, we are hosting the BC 1 Million Post contest. More information about this contest can be found at the following link:

Bleeping Computer 1,000,000 Post Contest

- BleepingComputer Management
 
Reply to this topicStart new topic
> How To Create An Archive Using Tar In Linux
Grinler
post Jan 24 2006, 09:29 AM
Post #1


Bleep Bleep!
******

Group: Admin
Posts: 29,355
Joined: 24-January 04
From: USA
Member No.: 3



How to create an archive using tar in Linux



Guide Overview

This guide explains how to create an archive of files using the Linux/Unix tar command.

Requirements

Shell Access or Console

Instructions
  1. Connect to a shell or open a terminal/console on your Linux/Unix machine.

  2. To create an archive of a directory and its contents you would type the following and press enter:
    1. tar -cvf name.tar /path/to/directory

      Substitute the name.tar with the name of the tar file you would like to create and substitute the directory name for the full path to the directory you would like to archive.
  3. To create an archive of certfain files you would type the following and press enter:
    1. tar -cvf name.tar /path/to/file1 /path/to/file2 /path/to/file3

      Substitute the name.tar with the name of the tar file you would like to create and substitute the the various files for the full path to the files you would like to archive. Each file you would like included in the archive should be seperated by a space.


--------------------
Lawrence
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 20th November 2008 - 01:07 PM


Advertise   |   About Us   |   Terms of Use   |   Privacy Policy   |   Contact Us   |   Site Map   |   Chat   |   Tutorials   |   Uninstall List
Discussion Forums   |   The Computer Glossary   |   Resources   |   RSS Feeds   |   Startups   |   The File Database   |   Malware Removal Guides

© 2003-2008 All Rights Reserved Bleeping Computer LLC.