LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-03-2014, 12:25 PM   #1
Proudrasil
LQ Newbie
 
Registered: Dec 2014
Posts: 2

Rep: Reputation: Disabled
Tilde in filenames leading to issues extracting tar.gz


So I'm a relatively new user, and I'm tasked with an extremely arbitrary and weird project of getting a Wind River client working on Hyper V, and I basically need to install some drivers on this little virtual terminal so it'll interface with Hyper V's virtual ethernet.

I got the drivers, and have them mounted via iso in my VM, however no command to extract them I'm doing is working out.

This is what I'm trying:

Code:
root@localhost:/mnt/cdrom# ls
e1000e~0.gz
root@localhost:/mnt/cdrom# tar zxf e1000e.3.1.0.2.tar.gz
tar: e1000e.3.1.0.2.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
The name of the tar.gz is
Code:
e1000e.3.1.0.2.tar.gz
and I'm assuming the tilde thing is just an abbreviation, though I have no idea why it's returning cannot find file despite it being listed.

I'm thinking I might just be going about something incorrectly or misunderstanding the "~" so if anyone has any ideas I would really appreciate it!

Thanks
 
Old 12-03-2014, 12:33 PM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
You can rename that file if you want to, or use it as is. Try tar xzf e10*.gz or similar. I hope that helps
 
Old 12-03-2014, 01:04 PM   #3
Proudrasil
LQ Newbie
 
Registered: Dec 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
You can rename that file if you want to, or use it as is. Try tar xzf e10*.gz or similar. I hope that helps
Yeah I've tried that, typing it with the tilde, and every variation that it might be misinterpretting it as (with extension, without, etc), still unable to find file.
 
Old 12-03-2014, 01:38 PM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
would be nice to show what have you tried exactly. And also what was the respons, error message, whatever....
How was that cd mounted (what will the mount command say?)
 
Old 12-03-2014, 01:45 PM   #5
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
You don't have a tar file. You most likely have a gzip file with a tar.gz file inside it. You can check with the file command. You need to run gunzip to unpack the file.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Rename numerical filenames so all have the same number of leading zeros kmkocot Linux - Newbie 4 11-25-2014 12:11 AM
[SOLVED] Extracting archives containing long filenames iamspartacus Linux - Software 2 10-07-2014 11:57 PM
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 11:02 AM
extracting japanese filenames Cyber Maid Linux - Software 15 10-14-2005 11:05 PM
Filenames with tilde rovoreed Programming 2 08-08-2001 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration