i want to know how to unzip a archive file by replacing the same folder with file name..
help me or not! 
![]()
i want to know how to unzip a archive file by replacing the same folder with file name..
help me or not! 
![]()
it would be great if you post some of the file names...!!!
Try this : -
$uncompress <filename>
if the above command doesn't work then post the file names.
XXX.tar.gz is the archive folder name.. want to replace this folder by extracting the data inside it and replacing at the same time.
I think files are in gzip format, try using the foloowing command : -
$gunzip <file_name>
it says command not found!
$
$ ls -ltr a.txt
-rwx--x--x 1 kandir staff 162 Mar 2 06:50 a.txt
$
$ gzip a.txt
$
$ ls -ltr a.txt*
-rwx--x--x 1 kandir staff 141 Mar 2 06:50 a.txt.gz
$
$ gunzip a.txt.gz
$
$ ls -ltr a.txt*
-rwx--x--x 1 kandir staff 162 Mar 2 06:50 a.txt
$
thanks!