[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

4831.0. "Need some TAR help" by PAMSRC::63686::BARRETT (I will not instigate revolution) Wed Jun 19 1991 23:35

    Can someone tell me what I'm doing wrong?
    
    I'm trying to unarchive a TAR file, but the command line
    "tar -x file1.tar" and "tar -x file1.tar *" return a
    "ram:file.tar file or directory not found" error
    
    What's the syntax to extract all files and directory structure from a
    tar file?
    
    Thanks!
    
    Keith
T.RTitleUserPersonal
Name
DateLines
4831.1SIEVAX::JAMIEBatteries not included!Thu Jun 20 1991 06:189
    Just a guess; try tar -xpf. This is not guaranteed to work since I'm
    just making it up as I go along from memory, but it's worth a try,
    isn't it ? ;-)
    
    
    Cheers,
    
    
    				Jamie.
4831.2Hope this helpsBAHTAT::BAHTAT::HILTONHow's it going royal ugly dudes?Thu Jun 20 1991 06:297
    Tar -xvf filename.tar will work. Without the f it sounds like it
    defaults to ram:, so if you tar file is on dh1: and you wanna unpack it
    to df0: , then cd df0: and type
    
    tar -xvf dh1:file.tar
    
    Greg
4831.3SIEVAX::JAMIEBatteries not included!Thu Jun 20 1991 06:471
    Damn! I knew I was close; p rhymes with v !!!
4831.4Actually, they both work...MADRE::MWMThu Jun 20 1991 15:0510
x says eXtract; f says from File. So all you need is "tar -xf file.tar".

v is Verbose;  that causes it to list the files as it extracts them.

p is Protect; it puts the mode back without using your UMASK. It should be
a nop on AmigaDOS.

By habit, I do xpf. I do xpvf if I need to see the file names as it extracts.

	<mike