Sponsored Content
Full Discussion: .IMG file help!!!
Top Forums UNIX for Dummies Questions & Answers .IMG file help!!! Post 302483237 by Corona688 on Friday 24th of December 2010 03:12:14 PM
Old 12-24-2010
Code:
$ unzip -l myimage.zip 
Archive:  myimage.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
  1474560  12-24-2010 03:05   myimage\myimage.img
---------                     -------
  1474560                     1 file
$ unzip myimage.zip 
Archive:  myimage.zip
warning:  myimage.zip appears to use backslashes as path separators
 extracting: myimage/myimage.img     
$

you're not running on cygwin, are you? Whatever program you used to create the zip file did so in a really weird way, though it worked in the end.

Your disk image contains precisely one file, 'new file', which contains the text 'hello'. If that's what you tried to add, you succeeded, and your "archive mounter" is either faulty -- or designed to mount archives, not disk images.
 

8 More Discussions You Might Find Interesting

1. Programming

getting img url

hey, i just found this forum...how cool. question: does anybody know code or know where i can get the code to get a certain image URL from user? say user input URL from shell prompt when run the program. What is the code to take that URL open internet and download the image. thanks alot. (2 Replies)
Discussion started by: bb00y
2 Replies

2. UNIX for Advanced & Expert Users

.DSK to .IMG ?

Hi, I have a windows emulator that I am wanting to try out, but my Windows 3.1 files are split up over 6 .DSK images, and I need to convert them to an .IMG that I can actually mount on my system (so that the emulator can see it). Is there a way to do this? thanks. -patrick (0 Replies)
Discussion started by: patrick99e99
0 Replies

3. Solaris

Read/View .img files from SunOs 5.8

We use imaging software from a cardiology clinic on SunOS 5.8 and I want to be able to see these image files (.img extension) on Windows XP. Can this be done? If so, with what software (on Windows XP)? On Windows XP, I've used software like Ulead PhotoImpact and Corel PhotoPaint but I've had no... (16 Replies)
Discussion started by: sreyes27
16 Replies

4. Red Hat

Fedora installation getting stuck in initrd.img

I have a 80GB hard disk with WinXP already installed.I had tried installing Fedora 10 earlier without creating new partitions(real foolish and ignorant of me :o:o ) and tried creating partitions using Fedora10 bootable.It didnt work.Then I created a free partition and again tried installing... (4 Replies)
Discussion started by: ganesh.k28
4 Replies

5. Ubuntu

WGET in Ubuntu( vistual img ) vs Red Hat

Hi I need to fetch a file using wget command. In read Hat I have the file I need without any problem while in Ubuntu ( installed on a virtual image ) it doesn't work. More precisely my wget need to fetch a page from a web site with secure authentication so teh syntax I am using is wget... (7 Replies)
Discussion started by: manustone
7 Replies

6. UNIX for Advanced & Expert Users

Could I get the initrd.img file without recompile the kernel?

Hi, all: The vmlinuz-3.0.4.old is a kernel previous to the current running kernel vmlinuz-3.0.4 which is compiled the most currently. Could I get the initrd.img-3.0.4.old without recompile under the condition that the config-3.0.4.old, System.map-3.0.4.old and vmlinuz-3.0.4.old exist? if it... (1 Reply)
Discussion started by: liklstar
1 Replies

7. Web Development

HTML/PHP show IMG based on location

HI guys/gals, I like to add some personal touches to a welcome image on our mediawiki site, and have the welcome be displayed in the, presumed, language of the visitor. Standard would be English, but if the IP or browser or OS is set to be in India, I want to display the message in Urdu for... (5 Replies)
Discussion started by: lawstudent
5 Replies

8. Shell Programming and Scripting

How to remount .img as rw and repack

Hi fellas! I make a sh script which the following: sudo mkdir Temp sudo mount -o loop output.img Temp The command mounts the img.Thats fine.But it moun s it as read only.But I need to edit/delete some files inside it and repack it as ext4 using this command: sudo ./mkuserimg.sh -s Temp... (3 Replies)
Discussion started by: vijai
3 Replies
pamstack(1)                                                   General Commands Manual                                                  pamstack(1)

NAME
pamstack - stack planes of multiple PAM images into one PAM image SYNOPSIS
pamstack [-tupletype tupletype] [inputfilespec] All options may be abbreviated to the shortest unique prefix. DESCRIPTION
Reads multiple PAM or PNM images as input. Produces a PAM image as output, consisting of all the planes (channels) of the inputs, stacked in the order specified. The output is the same dimensions as the inputs, except that the depth is the sum of the depths of the inputs. It has the same maxval. pamstack fails if the inputs are not all the same width, height, and maxval. The tuple type is a null string unless you specify the -tuple- type option. pamchannel does the opposite of pamstack: It extracts individual planes from a single PAM. Use pamtopnm to convert a suitable PAM image to a more traditional PNM (PBM, PGM, or PPM) image. One example of using pamstack is that some Netpbm programs accept as input a PAM that represents graphic image with transparency informa- tion -- tuple type "RGBA". In Netpbm, such images were traditionally represented as two images - a PPM for the color and a PGM for the transparency. To convert a PPM/PGM pair into PAM(RGBA) input that newer programs require, do something like this: pamstack -tupletype=RGBA myimage.ppm myalpha.pgm | pamtouil >myimage.uil OPTIONS
-tupletype tupletype This specified the tuple type name to be recorded in the output. You may use any string up to 255 characters. Some programs recog- nize some names. If you omit this option, the default tuple type name is null. SEE ALSO
pam(5) AUTHOR
Copyright (C) by Bryan Henderson, San Jose CA 2000.08.05 01 May 2002 pamstack(1)
All times are GMT -4. The time now is 11:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy