Active Topics

 



Notices


Reply
Thread Tools
Posts: 87 | Thanked: 9 times | Joined on Nov 2007
#1
Is there any applications to unzip tar files on the nokia n800?
 
technut's Avatar
Posts: 574 | Thanked: 166 times | Joined on Oct 2007 @ BC, Canada
#2
1) Open Xterminal, type "tar".
2) See there are options.
3) Search for explanation of tar options if you don't know them.
__________________
Please follow these simple posting guidelines.
There are no stupid questions, just people who didn't search itT (with Google) first.
 
Posts: 87 | Thanked: 9 times | Joined on Nov 2007
#3
ok in the terminal i put tar then the file name and i get invalid option --1

the tar file is in the main directory which is nokia n800

Last edited by Gadget25; 2007-12-20 at 03:34.
 
Posts: 465 | Thanked: 149 times | Joined on Oct 2007
#4
Originally Posted by Gadget25 View Post
ok in the terminal i put tar then the file name and i get invalid option --1

the tar file is in the main directory which is nokia n800
tar xvf file.tar

x means extract, v means verbose, f tells it which file.
 
Posts: 833 | Thanked: 124 times | Joined on Nov 2007 @ Based in the USA
#5
Originally Posted by Gadget25 View Post
Is there any applications to unzip tar files on the nokia n800?
technut is wrong - there "is" not any applications to unzip tar files.
Tar files are not zipped.
tar = tape archive, which came along decades before "zip".
There are many options to untar tar files.
There are many options to learn extremely basic unix commands.
Of course there also seems to be many options to create totally useless threads.
__________________
N810, iGo bt kb, Diablo, 10Gb storage onboard instead of a Thinkpad
OTG w/ unlimited storage!!
Put a penguin in your pocket!!
PLEASE use the Wiki
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#6
I think people are mixing terminology here - depending on how forgiving people want to be one could consider "unzipping" to simply mean "extracting" which is precisely what technut explained. If the OP meant "uncompressing" then tar will do this too - just add the z parameter, ie.

Code:
tar xvzf mycompressed.tar.gz
to extract the files from a compressed tar file.

Note that tar on Internet Tablets is quite picky about where the z parameter appears - always put it before the f parameter otherwise tar will complain.

And to view the content of a compressed tar file, use

Code:
tar tvzf mycompressed.tar.gz
As a rule the filenames of compressed tar files end in .gz but this may not always be the case.

Last edited by Milhouse; 2007-12-20 at 15:04.
 

The Following User Says Thank You to Milhouse For This Useful Post:
Posts: 87 | Thanked: 9 times | Joined on Nov 2007
#7
It comes up with cant open "file" no such file or directory..is it suppose to be in a certain spot...
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#8
You need to give tar the correct path to your file - I've no idea where you file is right now. Also be careful where you extract to, as tar might overwrite existing files which may or may not be what you intend.

Assuming you're in the same directory as your archive file (eg. myfile.tar), if it's not compressed you should be able to list the contents with

Code:
tar tvf myfile.tar
Replace "myfile.tar" with the path to your file.

Does this work?
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:07.