Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-03-2015, 06:10 AM   #1
LQ Newbie
Registered: Apr 2015
Posts: 2

Rep: Reputation: Disabled
Extracting File To A Different Directory

Hi there,

I'm just starting to use Linux Mint 17 and practising commands. I have wallpapers.tar.gz in the Downloads folder and want to extract it to my Pictures folder.

I type tar -xzvf wallpapers.tar.gz -C /Pictures but it says no such directory. What am I doing wrong? Thanks for looking.
Old 04-03-2015, 06:19 AM   #2
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,652
Blog Entries: 56

Rep: Reputation: Disabled
tar -xzvf wallpapers.tar.gz -C ~/Pictures
Old 04-03-2015, 06:20 AM   #3
Senior Member
Registered: Oct 2005
Distribution: SLES 12
Posts: 1,876

Rep: Reputation: 134Reputation: 134
You may create to directory with mkdir and then decompress the mentioned archive.

info tar on console is usefull.
Old 04-03-2015, 06:28 AM   #4
LQ Newbie
Registered: Apr 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you very much both of you. All that time wasted missing the ~


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
No such file or directory message when extracting the linux cpio file on window vista echang General 7 10-05-2012 03:19 PM
0511-169 extracting tar file: A directory checksum error on media GoBieN AIX 9 07-14-2012 02:58 AM
Extracting File Names from Long Listing of Directory in UNIX Hi_This_is_Dev Programming 15 09-01-2010 12:32 AM
extracting .tar.gz files in current directory... mitesh.ever Linux - Newbie 4 12-09-2008 07:03 AM
Extracting a tar ball directly into a directory kushalkoolwal Debian 2 09-28-2005 02:47 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:33 AM.

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