LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 01: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, 01:33 PM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,133

Rep: Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273
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, 02: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, 02:38 PM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,133

Rep: Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273
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, 02:45 PM   #5
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,614

Rep: Reputation: 703Reputation: 703Reputation: 703Reputation: 703Reputation: 703Reputation: 703Reputation: 703
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:11 AM
[SOLVED] Extracting archives containing long filenames iamspartacus Linux - Software 2 10-08-2014 12:57 AM
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 12:02 PM
extracting japanese filenames Cyber Maid Linux - Software 15 10-15-2005 12:05 AM
Filenames with tilde rovoreed Programming 2 08-08-2001 05:53 PM


All times are GMT -5. The time now is 06:22 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration