Ubuntu :: Extract Archive From File To Directory ?

Jul 2, 2011

How to archive content of directory to file and also how to extract archive from file to directory just as below.

If first argument is a directory and second argument is a file, user is prompted to choose whether to archive content of directory to file or extract archive from file to directory.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Extract Certain File From 7z / 7zip Archive?

May 3, 2010

I have a 7zip archive and I would like to extract certain files from with it. Is there a way to do this without un-compressing the entire archive? I know these files exist in there because I am using the "7za l" command to view the files contained in the archive.

View 3 Replies View Related

Ubuntu :: Extract File To Program Directory?

Jul 19, 2010

How do i extract a file to a program directory ?

YEA stupid question but im used to windows and im trying to learn ubuntu so far i love it just hitting bumps..

I want to extract

xbmc to

.xbmc/plugins/program directory

i downloaded the file, but when it comes to extracting im lost, because i cannot access the root ? is that were it is ?

View 9 Replies View Related

General :: Extract A Zip File To Own Directory?

Apr 21, 2011

Im trying to extract the contents of a zip file but I want to extract it to my own directory. I'v tried -d from unzip but that just puts the contents of the zip into that directory.

But I want to extract the contents of the first (root) directory in the zip if there is only one directory in the root of the zip else just extract the files/folders in the root of the zip file (if there are more then one files).

e.g. test.zip contents the following dir structure:

test.zip
/app_v1/ <-The contents of this directory I want extracted to a dir of my choice
- folder-1
- folder-2
- folder-3
- folder-4
- file1
- file2

View 2 Replies View Related

General :: Extract A Tar File From One Directory To Another?

Mar 28, 2011

How do I extract a tar file from one directory to another.

e.g /data1/test.tar to /data2

View 7 Replies View Related

Debian :: Error Processing AdobeReader Cannot Access Archive - No Such File Or Directory

Mar 19, 2009

I'm trying to install Adobe Reader 8 and the command #dpkg -1 AdobeReader_enu-8.1.3-1.i386.deb comes up with the message error processing AdobeReader Cannot access archive. No such file or directory. Error was encountered while processing.

View 9 Replies View Related

General :: Firefox - 4.0.1.tar.bz2 - What Directory And File To Open - Or Extract

May 10, 2011

I'm Fedora 14 Kernel Linux 2.6.35.13-91.fc14.i686

I downloaded the new firefox and I don't know what to do with it.

What directory and file do I open it, or extract it to?

View 8 Replies View Related

General :: Folder - How To Extract A RAR Archive

Mar 25, 2011

How can we extract a .rar archive in Linux?

View 2 Replies View Related

Red Hat / Fedora :: Root Directory - Password To Extract / Copy Any File

Jul 20, 2010

Why do I always need to write "su" then my password to extract or copy any file in fedora 11. How to configure so that I always be in my root directory.

View 3 Replies View Related

Server :: Install Symantec Endpoint - Error: Unpacking Of Archive Failed On File - Cpio: Mkdir Failed - No Such File Or Directory

Nov 23, 2010

i am trying to install symantec endpoint on a linux server by this command rpm -ivh sav-1.0.3-8.i386.rpm but it gives me the following error error: unpacking of archive failed on file /opt/Symantec/bin/navdefutil;4ceb8d6b: cpio: mkdir failed - No such file or directory

View 3 Replies View Related

Ubuntu :: Middle / Right Click Drag To Extract Archive?

Oct 30, 2010

I have been looking for a solution to middle or right click dragging an archive to extract it to another folder without any success. It appears this question seems to be asked many times without a single response from anyone.

Quote:

[URL]

The fact that right click on archive is also missing a simple 'Extract to...' compounds the problem. [URL]

View 1 Replies View Related

Fedora :: Extract Data From Zip Archive With Password?

Dec 11, 2009

Man I can't extract data from a zip archive with password witch contains ")" and "(" characters...See my treminal:Quote:

[swampyx@AMD-RO-HD ~]$ unzip zplW.zip
Archive: zplW.zip
[zplW.zip] zplW/ password:

[code]...

View 2 Replies View Related

Fedora :: Extract Specific Files From A .tar Archive?

Jul 20, 2011

I have a .tar archive of music that I would like to extract specific files / folders from. I've been looking at man tar but I don't seem to be able to find any information related to my quest, although someone will likely point out that it's right there in front of my nose

Anyhow, the file is called music_archive.tar and I would like to extract the folder /music/P/Pink Floyd/The Wall/. Anyone know how to do this

View 2 Replies View Related

Ubuntu :: Zip File Gvfsd-archive / Archive Mounter Read Write Mode

Dec 6, 2010

I'd like to ask about archive mounter feature, can I mount zip file with read write mode? can gvfsd-archive do that?, or I must use fuse-zip to mount it? If I must use fuse-zip, how I wrap it so I can use it via nautilus or via gvfs-fuse-daemon

View 4 Replies View Related

General :: Tar Fails To Extract Archive Containing Special Characters?

Jun 5, 2011

The command tar -xvf wpa_tables.tar gives this error

tar: ./xai-0/334Regency: Cannot open: Invalid or incomplete multibyte or wide character
tar: Exiting with failure status due to previous errors

Obviously the backslash is giving tar some problem, but I've been all over the docs and can't figure out how to either make it skip this file or interpret the character literally. Here's my command history to show some of the options I've tried which don't work.

tar --no-wildcards -xkvf wpa_tables.tar
tar --exclude ./xai-0/\334Regency -xkvf wpa_tables.tar
tar --exclude "./xai-0/\334Regency" -xkvf wpa_tables.tar
tar --ignore-command-error -xkvf wpa_tables.tar
tar --ignore-failed-read -xkvf wpa_tables.tar
tar --transform 's/\/slash/g' -xvf wpa_tables.tar ./xai-0/\334Regency

I'm totally out of ideas at this point and would welcome some input from more experienced members.

View 1 Replies View Related

General :: Right Click Extract Archive Stopped Working?

Mar 15, 2011

I am using OpenSuse 11.2

Today i downloaded a zip file and tried to extract it using the right click "Extract archive Here" and nothing happened.

View 3 Replies View Related

OpenSUSE Hardware :: The Exact Error Message Is: "Failed To Extract ZIP Archive" Or "Failed To Load File"?

Apr 13, 2011

I think I'm ready to install Linux openSUSE physical on my Laptop. NO VMware Workstation anymore...But before I can do that I must be sure that Linux works on my System.--- SYSTEM ---

System: TOSHIBA Satellite A300D-13A (PSAK4E-01F00VGR)
CPU: 2x AMD Turion� 64 X2 Mobile Technology TL-64
--- NETWORK ---

[code]....

OK, should be enough for the first, ask if I forgot some Hardware...Because I can't find any driver, and I'm not sure. I'm a LINUX NOOOOOOOOOB!!I really want to install Linux openSUSE, I'm MICROSOFT/WINDOWS HATER since 1 month now!! PS: Wine can't start my favorite Programs like Project64 a N64 Emulator. It fails to start a game! I think the graphic plugin crashes... | The exact error message is: "Failed to extract ZIP Archive" or "Failed to load file".

View 7 Replies View Related

General :: Archive A Directory Using Tar?

Mar 25, 2010

Is it possible to archive a directory using tar and keeping the acl implemented on it intact?

View 5 Replies View Related

Ubuntu :: Open Every Directory In ARCHIVE MANAGER: C?

Nov 15, 2010

Every shortcut... every program... every link... everything opens in Archive Manager. And then it reports that the archive is not supported... I gotta launch everything directory related through a terminal just to get to navigate through a window manager.

View 2 Replies View Related

General :: Ubuntu 10.04 - Tar Command To Archive Home Directory

Sep 3, 2010

Ubuntu 10.04. As part of my nightly backup script I archive my home directory with the following command
tar -cvpzf /quitelarge/_mirror/mirror1/home-ken.gz /home/ken 2>> /quitelarge/_mirror/tar-error.log

It seems to work fine and I have recovered files from the archive on occasion. Actually I keep 7 rolling daily backups and a monthly burn to DVD. I had an sftp connection made by Nautilus to my server. Ubuntu for whatever reason places an icon on the desktop showing the connection. When I ran the script it decided to archive everything on my server - all 1.4 TB. I caught the problem when home-ken.gz was about 5 GB. I stopped the process, closed the sftp connection, rolled back the backups and tried again. This time I got a file of the expected size - about 45 MB.

In the error log I did find that the tar process was trying to suck the entire contents of the server into the archive file.
tar: /home/ken/.gvfs/sftp for ken on taylor10/proc/asound/ICH5/pcm0c/sub0: file changed as we read it
tar: /home/ken/.gvfs/sftp for ken on taylor10/proc/asound/ICH5/pcm0c: file changed as we read it
tar: /home/ken/.gvfs/sftp for ken on taylor10/proc/asound/ICH5: file changed as we read it
tar: /home/ken/.gvfs/sftp for ken on taylor10/proc/asound: file changed as we read it
tar: /home/ken/.gvfs/sftp for ken on taylor10/proc/scsi: file changed as we read it
tar: /home/ken/.gvfs/sftp for ken on taylor10/proc/acpi/event: Cannot open: Permission denied
tar: /home/ken/.gvfs/sftp for ken on taylor10/proc/acpi/fadt: Cannot open: Permission denied
tar: /home/ken/.gvfs/sftp for ken on taylor10/proc/acpi/dsdt: Cannot open: Permission denied
tar: /home/ken/.gvfs/sftp for ken on taylor10/proc/irq/21/smp_affinity: Cannot open: Permission denied

Is there an option I can place on the tar command to tell it NOT to follow the ssh connection which is sitting on my desktop? The closest thing I see in the documentation is -h which tells tar to "follow symlinks; archive and dump the files they point to." I am NOT specifying -h so if the ssh connection is treated as a symlink by tar I would still not expect the remote contents to be tarred.

View 13 Replies View Related

General :: Using A Tar Archive To Update Directory?

Feb 6, 2009

I have a directory that contains some files. Let's call it ./ActiveContent.

I have a tar ball that contains some updated files, let's call it updates.tar.gz.

How do I unpack updates.tar.gz in the directory ./ActiveContent so that files in updates.tar.gz overwrite the identical named files in the directory?

That is to say, an option that directs the utility to over write existing files wile expanding a tar archive into a directory?

View 3 Replies View Related

General :: How To Untar An Archive From One Directory To Another

Jul 19, 2010

I want to untar a package from one directory to another directory, directly from the command prompt. I want to untar the joomla package into the htdocs directory of xampp. How to do that directly from command prompt ? The reason i am asking this is if I try the "drag and drop" way, it won't be possible as xampp is stored in /opt directory and without super-user authentication nothing can be saved into it. You can argue saying that why did I untar xampp initially in su mode ,but that had to be done so that apache doesnt give me any start-up problems.

View 2 Replies View Related

Ubuntu :: Archive Manager Create The Specified Directory If It Doesn't Exist?

Feb 16, 2010

Is it possible to have Archive Manager create the specified folder when I enter it into the path field? Like if I want to put something in "/Main/Sub1/Sub2" But "sub2" doesn't exist, can I just have Archive Manager create it and put the files there?

View 1 Replies View Related

General :: Tar Command - Making Archive From Current Directory?

Mar 31, 2011

I have been playing around with the tar command and I know this is how to use it.
Code:
tar -cf [filename] [directory]
But what I want to make an archive from the current directory I thought just to not enter a directory but that doesn't work. I get an error about creating a empty archive so how to do I make it so how do I tell it to do the current directory?

View 5 Replies View Related

Ubuntu :: File Extension Z - Unix Compressed Archive File?

May 6, 2010

Anyone know how to compress a file to extension z?not tar.gz , zip, 7zip

View 6 Replies View Related

Ubuntu :: File System - Whenever Extract A File From A .tar Or Whatever - It Isn't Detected

Sep 1, 2011

When ever I extract a file from a .tar or whatever, it isn't detected. I notice this mainly when i'm using xampp. I copy zip up all my files on one computer, load ubuntu on another, extract the files to the web folder (htdocs) and then I get nothing. However, when I manually create the files directly on my computer as opposed to extracting them, they appear.

Is there something I need to do in order to have these files appear? Is there some sort of file system refresh? Or am I being a complete idiot?

View 5 Replies View Related

Ubuntu :: ZIP File Cannot Be Opened As Archive

Jun 20, 2011

I'm not 100% sure if this is the right spot for it, but I'm having trouble unzipping files. I've downloaded a good few fonts from dafont.com, from different authors and with different browsers and I still get errors. First I opened the .zip with Archive Manager

Code:
7-Zip 9.04 beta Copyright (c) 1999-2009 Igor Pavlov 2009-05-30
p7zip Version 9.04 (locale=en_ZA.utf8,Utf16=on,HugeFiles=on,2 CPUs)
Error: /media/42E6F8E2366C0906/Fonts/panhead.zip: Can not open file as archive
Errors: 1

I then tried
Code:
ross@Ross-PC:~$ unzip /media/42E6F8E2366C0906/Fonts/panhead.zip
and got this output
Code:
Archive: /media/42E6F8E2366C0906/Fonts/panhead.zip
End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive.
unzip: Cannot find zipfile directory in one of /media/42E6F8E2366C0906/Fonts/panhead.zip or /media/42E6F8E2366C0906/Fonts/panhead.zip.zip, and cannot find /media/42E6F8E2366C0906/Fonts/panhead.zip.ZIP, period.

I do have p7zip-full installed, but it isn't a .7zip file?

View 8 Replies View Related

Ubuntu :: Set File Roller As Default Archive App?

Mar 10, 2010

I was messing with Openbox, LXDE, and Pekwm a couple days ago to see if I liked any of them, but I ended up coming back to gnome.

But it seems that, somehow, some of my preferred apps settings got wiped during this process.

The most annoying one, is I have no default application for archives (zip, tar.gz, etc). I can tell Ubuntu to "Open With..." and that works... but it doesn't stick.

How can I return this back to normal Ubuntu behavior?

UPDATE: It appears that nearly ALL my preferred application settings are gone. Pretty much everything except couple filetypes show up with the standard "file" icon and won't open unless I use "open with".

View 6 Replies View Related

Ubuntu :: How To Work File On Archive Manager

Feb 27, 2011

[URL]...I open the file and it shows a bunch of files and I dont know how to make it install for my login. What am I suppose to do?

View 1 Replies View Related

Ubuntu :: File Roller - Could Not Create Archive

Mar 9, 2011

I am using Ubuntu 10.10 and I started to have a kind of annoying problem with file-roller. I do not know what I attempted to unpack or pack form my USB HDD a couple of days ago, but when I did I got a message from the archive manager, the message was: "Could not create the archive, Archive type not supported." Well, I just shrugged, and continued doing whatever I was doing, but later I noticed that whenever I tried to open the HDD for whatever reason from "PLACES" in the main panel, I was getting the same error message over and over again.

It is not produced when I open the HDD from the Desktop link in my Desktop, that link will open the HDD with no problems. But if I try to access the HDD from "PLACES" in the main panel I will always get the same error message. Ok, what have I tried: since the archive manager window shows the "file-roller" logo in the menu button, I assumed that file roller is stuck with the previous process for which it produced an error, therefore I tried to "kill" any pending processes by several ways: Login-off, re-starting and turning the computer off.

That did not worked. Whenever I attempted to open the HDD from "PLACES" the same error "Could not create the archive, Archive type not supported." will return. Assuming that nautilus was stuck with the process I tried to kill any pending processes by using Alt+F2 and trying to kill the pending nautilus process using:
ps -e | grep nautilus
and then the command
kill {####}

That did not worked either. I was tired and uninstalled "file-roller" using the software manager, this solved the problem. But I actually use "file-roller" so I re-install the program and the problem returned. I tried to uninstall the program using synaptic manager using the "Mark for complete removal" option, uninstall, re-install and the problem was there. I uninstalled all the other recommended packages that were installed along with "file-roller" using synaptics and then just tried to install "file-roller" alone, the problem is still here.

Then I thought it was a problem related to the HDD. So I went ahead and re-formatted it using the EXT4 file system with no partitions. Re-booted and the problem is still here. Whatever process I started with "file-roller" or one of its companion pkgs is still active somewhere, I believe is "alive" in the system's HDD, because it returns after a complete uninstall/reboot/install process. I do not want to mess with "nautilus" itself, Do I need to uninstall/reinstall "nautilus-data" pkg?

System: Ubuntu 10.10, running solo in an EXT4 single partition.
Desktop: Gnome v2.32.0
Programs: file-roller v.2.32.0-0ununtu1; unzip v6.0-4; zip v3.0-3; xz-utils 4.999.9beta+20100527-1
USB HDD: 500GB, single partition, EXT4 file system.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved