Find the answer to your Linux question:
Results 1 to 3 of 3
new to linux and new to this forum could anyone please help give the command line ? for tar file unzip while assigning another name to the unzipped file folder ...
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    2

    Smile :(:(:(unzip and assigning name

    new to linux and new to this forum

    could anyone please help give the command line ?

    for tar file unzip while assigning another name to the unzipped file folder

    Thanks

  2. #2
    Just Joined!
    Join Date
    Mar 2009
    Posts
    2
    I got over it , and have a following question

    after unzip the file ,the inside files are .gz ,which need unzipped as well.

    can these two stage be done in one step ??

  3. #3
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,577
    For more info on using the tar command, read the man page (manual).
    Code:
    $ man tar
    
    NAME
           tar - The GNU version of the tar archiving utility
    
    SYNOPSIS
           tar <operation> [options]
    
           Operations:
           [-]A --catenate --concatenate
           [-]c --create
           [-]d --diff --compare
           [-]r --append
           [-]t --list
           [-]u --update
           [-]x --extract --get
           --delete
    
           Common Options:
           -C, --directory DIR
           -f, --file F
           -j, --bzip2
           -p, --preserve-permissions
           -v, --verbose
           -z, --gzip
    To extract a file that is a .tar.gz, you would use this command.
    Code:
    tar xvfz filename.tar.gz
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...