General :: How To Unzip A Windows-built .tar.gz

Jun 24, 2010

i wanna transfer files from my windows pc to linux server.

suppose i have a file structure like this:

img /
logo.gif
css /
style.css
index.php

i tar.gz the directory, then upload, and then tar-xvzf the uploaded file. but the result is 3 file in root like this:

imglogo.gif
cssstyle.css
index.php

when i use zip instead of tar.gz it breaks the structure. i.e. it unzip some directories as empty files. fr examples it makes an empty file named img.

what's the reliable solution to transfer files between windows and linux?

View 1 Replies


ADVERTISEMENT

General :: Copy Zipped (my.zip) Files From Windows To Systems And Unzip Them Without Any Corruption

Jun 11, 2010

Is it possible to copy zipped (my.zip) files from Windows systems to Linux systems and unzip them without any corruption.

I know the command unzip is available, but I want to know if this copying from WIndows to Linux could lead to file corruption.

View 7 Replies View Related

Ubuntu :: Unzip Command, Finish Before All Unzip Is Done?

Jul 11, 2010

Problem is what unzip command, finish before all unzip is done.

Code:
#!/bin/dash
cd /home/ftpuser/www_base/

[code]....

View 3 Replies View Related

Ubuntu :: Unzip Program And Windows Translator?

Oct 19, 2010

I have loaded ubuntu 8.2 on to pc. All went fine and I downloaded kaffeine, i think, in a zip form. How do I unzip it then install it to program file. I also need a translator from windows xp to ubuntu as all the terms are new and different.

View 3 Replies View Related

General :: Difference Between Using "jar Xvf" And "unzip" To Unzip The Zip-file?

Aug 27, 2009

difference between using "jar xvf" and "unzip" to unzip the zip-file?

View 4 Replies View Related

General :: Setting Permissions On Unzip?

Apr 2, 2010

I wanted to assign ownership of my choice to my zip file while unzipping so I am using the command:

unzip yourfile.zip|awk -F": " '{print $2}' | xargs chown user.group

I also want to give 705 permissions to all directories and 777 to all files on unzipping?

View 3 Replies View Related

General :: Unzip Only 1 Directory In .zip File?

May 6, 2010

trying to unzip only 1 directory in my .zip file, the reason is that i don't have enough space to unzip all the contents of .zip file. and i am trying to do it with unzip command.

View 4 Replies View Related

General :: Not Allowed To Unzip A File In DIR?

Feb 25, 2010

I have a problem where I have certain foo.tgz files that are to big to gunzip in a directory, the box that it is on has limited space in /var/tmp for all intents and purposes. I did the standard gunzip -l to see how big the file was.

How can I look in the .tgz to see what files are there and pull out only the ones that I need. tar -t foo.tgz doesn't seem to work or am I doing something wrong?

Once I do find the file how do I only extract the one file from the .tgz, remember I can't uncompress the entire foo.tgz

View 14 Replies View Related

General :: Unzip Zip Files To Local Directory?

May 5, 2010

How to unzip the zip files to local directory in linux?

View 5 Replies View Related

General :: Unzip To Same Directory As Zipped File?

May 6, 2011

So I have a script that simply unzips a file with a line:

unzip /path/to/file.zip

which unzips and puts the unzipped directory in the same directory as my script. The issue is, I want the unzipped directory to be in the same directory as the original zipped file.

I googled and found the -d flag which would let me specify what directory to put it in but the script asks the user to define the directory so I don't see how I could use that (because the user specifies the path all the way to the zipped file, not just the directory where the zipped file is)

View 2 Replies View Related

General :: Xargs And Unzip All Files To Specific Directory?

Jun 22, 2009

I'm trying to find all zip files timestamped from the past 7 days, then unzip them into a different director.I tried the following, but it only unzipped one of three files that meet the 7 day criteria. What am I missing?Code:find /home/user/public_html/zip_files/ -iname "*.zip" -mtime -7 -print0 | xargs -n10 unzip -LL -o -d /home/user/public_html/another_directory/

View 1 Replies View Related

General :: Unzip Command: Option To Force Overwrite?

Jan 26, 2010

I am writing a shell script that unzips a ZIP file into an existing hierarchy of files, potentially overwriting some of the files. The problem is that the unzip command asks for confirmation: replace jsp/extension/add-aspect.jsp? [y]es, [n]o, [A]ll, [N]one, [r]ename: y

This is unacceptable for a script.I need an option to force unzip to overwrite the files.I did not find in the man page nor with Google.

View 1 Replies View Related

General :: How To Unzip Files On Acer One Running System Lite

Jun 26, 2010

I have downloaded an update of mozilla firefox but don't know how to unzip it. Do I download it to disc(hard drive) or do I download to xarchiver? Then how do I unzip it.Do I have to unzip all files the same way?

View 7 Replies View Related

General :: Getting Distro For A PC Built Somewhere In The 80s-90s

Jul 30, 2010

I considered puppy Linux, but it's not my taste. I don't like the Looks of the GUI. That's very important to me. If you need the computer make and model, here it is. It is a Gateway 2000 4DX2-66.

View 14 Replies View Related

Debian :: Using Find And Unzip Together?

May 27, 2011

I have a folder structure filled with zip files. I am trying to unzip them and keep them in their original location

This is what I am using

find . -iname "*.zip" -exec unzip {} ;

Now this command just unzips fine but the thing is that it unzips them where I fire this command(root folder of the zipped files). How can I recursively unzip files but keep them in place ?

View 1 Replies View Related

Fedora :: How To Unzip Z7 File

Sep 15, 2010

I have this file with a z7 extension. The question is simple, how do we unzip this ?

View 2 Replies View Related

Red Hat / Fedora :: Installing The Zip And Unzip?

Jul 13, 2011

I am using RHEL 5.4 Currently versions of Zip and Unzip are 2.31 and 5.52 respectively. I need to be on 3.0 for Zip and 6.0 for Unzip. Should I upgrade it? Should I install them anew? For your information I have to download the source from Info-ZIP Home Page.

View 3 Replies View Related

General :: Audio - Disabling Built-in Speaker?

Jan 28, 2010

My workstation has a built-in speaker that, surprisingly, plays audio very well. I also have external speakers hooked up to the audio out jack which are easier to hear. Unfortunately, when I try to play some audio material, sound comes out of both the external speakers and the built-in speaker on the workstation.

I'd like to disable the speaker inside the machine, and just plug in head-phones to the external speaker so I can listen to training material at work without bothering my office mate. I'm not sure how to do this in Linux (Suse Enterprise Desktop 11). Fiddling around with the Gnome audio tools doesn't list two different audio devices on the machine.

From what I can tell, sound is played through the ALSA system. I looked in my home directory and there is no .asoundrc controlling configuration.

I should also add that I check in the BIOS for a way to disable the built-in speaker, but I could not find such a setting.

View 3 Replies View Related

General :: Built In Fingerprint Scanner To Work

Mar 23, 2010

How to get a built in fingerprint scanner to work with linux? the device was installed on my laptop when i initially ordered it, i have a dell studio 1735 (i think its 1735) and i would like to use it with my linux. by the way im running mandriva.

View 6 Replies View Related

General :: Run On Built Computer With AMD Processor And On Board GPU?

Mar 13, 2011

I am trying to build a low cost computer, and over the last few days, I was interested in Linux as my OS to use. All I really need for the computer was the internet, word processors, and 3 games: "Wizard101", "Fusion Fall", and "Free Realms". Would Linux run on a built computer with an AMD processor and an on-board GPU? And would Linux run all of my needs/wants for this computer?

View 9 Replies View Related

Fedora :: Multiple - Unzip *.hgt.zip Does Not Work

Sep 17, 2010

I've downloaded about 40 zipped files from NASA, SRTM files, unzip *.hgt.zip does not work, unzipping individual files does. is the a util that can do a multiple unzip, or a short script.

View 7 Replies View Related

Ubuntu :: Can't Seem To Get The Unzip Software To Install

Nov 20, 2010

I am trying to set up a dedicated gaming server, but I can't seem to get the unzip software to install

Code:
sudo apt-get install unzip E: Package 'unzip' has no installation candidate I have scoured Google for an answer to this, but nothing seems to work. Did something change between 9.10 and 10.10? Or are things done very differently between the Server and Desktop versions of Ubuntu?

View 4 Replies View Related

Applications :: Can't Unzip Firefox3.6 In Mandrake OS

Mar 7, 2010

My efforts to install the new Firefox3.6: are going nowhere (literally, it seems)! After entereing: $ tar xvjf firefox-3.6.tar.bz2 on my linux box: [GCC 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)] on linux2 the end result comes to nothing. What I should (why would it be different from any other install?) end up with is a new directory "firefox3.6" or something very similar. I don't. I get nothing. Nadda. Once I hit the "tar xvjf..." button, I get the usual 'print (to screen)' flurry of activity. A sample:

firefox/modules/SpatialNavigation.js
firefox/modules/FileUtils.jsm
firefox/README.txt
firefox/libplc4.so
firefox/application.ini
firefox/searchplugins/
firefox/searchplugins/answers.xml
firefox/searchplugins/google.xml

But, I'll be darned if I can find all of this afterward. There certainly was not (as I've noted) a new directory created:

[Code]....

The "firefox/" directory that is part of the above listing? Notice the <Jan 15> date. Obviously an effort from another time. The listing [above] was generated with "ls -t", so the most recent activity is at the top. I simply can't find all the unpacked stuff that was generated with tar. I've looked in /home/.mozilla, tried "locate", all to no avail. "Google" can't seem to understand the problem I'm encountering. Who'd care to tackle this on this beautiful (snow free!!) Sunday morning?

View 4 Replies View Related

Programming :: Unzip The *.bz2 File Using Php Coding?

Nov 29, 2010

Below is my code to create *.bz2 file.

<?php
//Moving file to temporary directory for compression
move_uploaded_file($_FILES["file"]["tmp_name"],"c:/" . $_FILES["file"]["name"]);
$url="c:/".$_FILES["file"]["name"];
//File compression

[Code]....

Anyone know, how to unzip the file ? I've tried the above code to unzip it but it creates only 1kb of file for any files.

View 3 Replies View Related

CentOS 5 :: Ability To Unzip Files Using PHP?

Apr 13, 2010

Using PHP 5.2.10 on CentOS 5.4. I need to run a PHP call that will extract all the files from a .zip file. Is there a function to do this or something in PHP I need to enable or install?

View 1 Replies View Related

CentOS 5 :: How To Unzip Binary File

Sep 8, 2011

edit unzip binary file to fix a security issue with cpanel?i tried hex editior but i canot understand the file codes!iam a basic php scripter and pwn but i canot understand this its just numbers and strange characters!......................45..................5......@#........ like this

View 1 Replies View Related

General :: Unload Program Built From Source In Ubuntu?

May 25, 2010

I have downloaded the source code of bochs. and I use make install command to install it onto my box. But how could I uninstall it? I run the sudo apt-get remove bochs, but it said I didn't install the bochs...

View 2 Replies View Related

General :: Disable Built In Card Reader In Debian?

Dec 11, 2010

I am trying to disable the built-in card reader in my MBP (5,3) running Debian testing. I've noticed that powertop lists the card reader as a major contributor of wake up events and would like to disable it as I rarely need to read SD cards.

I found this with "dmesg":

scsi 6:0:0:0: Direct-Access APPLE SD Card Reader 1.00 PQ: 0 ANSI: 0

and this from "sg_scan -i":

/dev/sg2: scsi6 channel=0 id=0 lun=0 [em]
APPLE SD Card Reader 1.00 [rmb=1 cmdq=0 pqual=0 pdev=0x0]

I don't know where to find the device in /proc and there are no modules loaded for this device (I'm guessing it has support compiled into the kernel).

So, ideally, I would like to be able to enable/disable this device without a kernel recompile. Is this possible?

View 1 Replies View Related

General :: DELL Monitor With In-built Camera For OS - Driver ?

Jan 24, 2010

I am planning on buying a DELL Monitor for my desktop. Now, I would like to have one which has an in-built camera. Also, my operating system is going to be Linux. Will I have any driver related issues for monitor as well as for the in-built camera.

View 1 Replies View Related

General :: Install Atomic Built-in Function On Gcc3.4

Sep 1, 2010

According to [URL], gcc 4.3 supports atomic built-in function "GCC can now use load-linked, store-conditional and sync instructions to implement atomic built-in functions such as __sync_fetch_and_add" However, I am still using gcc 3.4 on my Redhat EL4. How do I get this built-in function installed?

View 2 Replies View Related







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