Jump to content

speedtouch - how do I extract files with tar?


erniev
 Share

Recommended Posts

I am painfully new to Linux - and may be making a very basic mistake - the below output is a result of my efforts to extract the speedtouchconf files - can someone advise where I am going wrong?

 

erniev@localhost ~]$ ls

Desktop/ Music/ speedtouchconf-2.0-09_Jan_2006.tar.gz*

Documents/ Pictures/ tmp/

Download/ simple* Video/

[erniev@localhost ~]$ tar xzvf speedtouchconf-2.0.09_Jan_2006.tar.gz

tar: speedtouchconf-2.0.09_Jan_2006.tar.gz: Cannot open: No such file or directory

tar: Error is not recoverable: exiting now

tar: Child returned status 2

tar: Error exit delayed from previous errors

[erniev@localhost ~]$

 

thanks,

ernie valentine

Link to comment
Share on other sites

erniev@localhost ~]$ ls

Desktop/ Music/ speedtouchconf-2.0-09_Jan_2006.tar.gz*

 

[erniev@localhost ~]$ tar xzvf speedtouchconf-2.0.09_Jan_2006.tar.gz

tar: speedtouchconf-2.0.09_Jan_2006.tar.gz: Cannot open: No such file or directory

 

There's a typo in the filename of the tar command. It should be:

 

tar xzvf speedtouchconf-2.0-09_Jan_2006.tar.gz

 

not

 

tar xzvf speedtouchconf-2.0.09_Jan_2006.tar.gz

 

 

In other words, there should be a hyphen between the 2.0 and the 09, not a period.

 

It happens to all of us. :D

Link to comment
Share on other sites

Oops, I should have mentioned the bash shell (command line) autocomplete feature. It will help avoid typos like this and also reduce the keystrokes you have to type in.

 

Tab your way to fewer keystrokes

 

Bash features autocomplete. Type in part of path, or command, and hit tab, and it will complete it for you up to the first ambiguity, if any. If it stops short, hit tab again to see all the possible choices. For example, in the current directory are the only two files that start with re: redhat-rpms-3.2344.3234 and redhatter. Type less re and hit the tab key, and now the line reads less redhat. Hit tab again (twice on some systems), and both files are listed. If you type an additional- and hit tab, the big long name is typed for you. Now just hit enter.

 

The above excerpt is from http://linux4texas.com/presentations/bash1/present.html

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...