LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-11-2002, 01:38 PM   #1
bsengland
LQ Newbie
 
Registered: May 2001
Posts: 7

Rep: Reputation: 0
Copy a 4mm tape created on an AS400 to my hard drive


What is the command I should use to download a labled file created on an AS400 to my hard drive?
 
Old 07-12-2002, 04:24 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
That depends on how it's written to tape. In most cases it will probably be a tar archive. Or multiple tar archives on tape.

You should use the mt command to position the tape to the right location and the tar command to extract files from the tape. You can read the man pages to find out more on how that works.

In general you would do something like this to extract the second archive on tape:

# rewind tape
mt -f /dev/nst0 rewind
# skip first archive on tape
mt -f /dev/nst0 fsf
# extract archive on tape
tar xvf /dev/nst0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Easiest way to copy a boot drive to a new hard drive lsgko Linux - Software 3 05-24-2005 10:38 PM
How to copy ext2fs from failed hard drive to good drive? DogWalker Linux - Hardware 2 08-30-2004 11:52 PM
Copy a Hard Drive rjneeley Linux - Software 3 06-11-2004 08:58 AM
STUCK--Trying to copy old Hard Drive to new Hard Drive. Please Help tsw Linux - Newbie 8 05-26-2004 03:47 AM
Sony SCSI 4mm Tape Drive graystarr Linux - Software 0 01-06-2002 10:16 AM


All times are GMT -5. The time now is 02:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration