Sponsored Content
Full Discussion: Edit an ISO / dd file?
Special Forums Hardware Filesystems, Disks and Memory Edit an ISO / dd file? Post 32225 by Neo on Wednesday 20th of November 2002 04:21:11 PM
Old 11-20-2002
Quote:
Originally posted by WIntellect
Neo,

Would that work?

I mean, would I be able to pull out entire "files" / "folders" and then add in entirely different ones?
In your original post you said you wanted to 'pull out bits' and 'replace them'... that can be done with binary editors but you have to know what you are doing.

When you say 'pull out entire files' .. that is a different problem than 'pulling out bits'....

I use binary editors to change only small things like works and phrases, or correct a bad pointer.

However, there are folks who can do things with binary editors that would make the greatest techie green with envy. I used to work with one guy who could change compiled machine code with a binary editor and alter programs because he did not like how the compiler was working (not me!) or simply because recompiling took too long.

If your goals are to change out files, then of course, a binary editor is too difficult. That was not the question in your original post Smilie
 

9 More Discussions You Might Find Interesting

1. SCO

making an iso file...

can i make an iso file from my DAT tape? pref .ISO? the thing is .. i have an 5.0.7 and a complete backup of hd (cpio cmd) on to tape (find . -depth -print | cpio -oVcB -C 20480 -O /dev/rStp0) that i made after booting from boot&root floppies now i want to take this backup and dump it on... (5 Replies)
Discussion started by: asafronit
5 Replies

2. AIX

AIX ISO image file

Hi all, Can anyone get the link to download the iso image of AIX as i am new to AIX need to study and work on the concepts of AIX. Thnx in advance... VINU:) (3 Replies)
Discussion started by: vinuvinod
3 Replies

3. UNIX for Advanced & Expert Users

ISO file creation -- procedure

Hi All, Am creating ISO file for same directory two times and both has different md5sum, Why does it so ?! Am pretty sure that, there is no change in that directory between the ISO creations, So what could be issue ? Or is there any misunderstanding in the process. mkisofs -J -R... (0 Replies)
Discussion started by: thegeek
0 Replies

4. UNIX for Advanced & Expert Users

edit volume id of an iso file ?

Is there any command in Linux available to edit the ISO file's volume id ? I know while creating an ISO we can give the volume id using -V option as mkisofs -V "Your Disk Title" -o image.iso FILES But once after creating the iso file i would want to edit it. Because i want to find the md5sum... (5 Replies)
Discussion started by: thegeek
5 Replies

5. Solaris

Install Solaris 10 by using the ISO file

Hi Gurus Recently i had download the ISO installer (sol-10-u8-ga-sparc-dvd.iso) for Solaris 10. And i ftp to a Server. May i know is it possible to install the Solaris by using this ISO file directly (not using network)? (8 Replies)
Discussion started by: SmartAntz
8 Replies

6. UNIX for Dummies Questions & Answers

How to modify an iso image file

Hi, I'm trying to create a customized debian installer on a USB key. I found a tutorial on how to create the usb key. After the USB key is prepared, all you have to do is to copy the iso file to the stick. So what I need to do now is to be able to modify the content of the iso file before... (7 Replies)
Discussion started by: chebarbudo
7 Replies

7. Red Hat

How to make boot.iso image from rhel6 installation dvd iso ?

Hello Everyone, Can anyone let me know how to make minimal boot.iso from rhl6 installation dvd iso image. I have a dvd image with me but i want to make just a minimal boot media. Somehow it is not shipped with dvd iso. I know we can download boot.iso from redhat site but is there any anyway we... (5 Replies)
Discussion started by: Rohit Bhanot
5 Replies

8. Boot Loaders

Where to get windows 7 iso file of repair?

I need to make a bootable usb of windows 7 repair disc iso file so that I can use it in case my system doesn't boot up. On net I am getting complete windows 7 OS iso but I need only the repair disc for making bootable iso. I am not sure whether I used right word by using the word disc here... (3 Replies)
Discussion started by: ravisingh
3 Replies

9. Ubuntu

.ISO file extension

I am hoping that someone will give me information on opening and installing Ubuntu to run beside Windows 7 on my computer. I downloaded Ubuntu-14.04-desktop-i386, but it came as an .ISO file, and I have no idea how to open it to install it. Please Help. (7 Replies)
Discussion started by: JohnBaxter
7 Replies
Proc::InvokeEditor(3pm) 				User Contributed Perl Documentation				   Proc::InvokeEditor(3pm)

NAME
Proc::InvokeEditor - Perl extension for starting a text editor SYNOPSIS
use Proc::InvokeEditor; my $edited_text = Proc::InvokeEditor->edit($unedited_text); DESCRIPTION
This module provides the ability to supply some text to an external text editor, have it edited by the user, and retrieve the results. The File::Temp module is used to provide secure, safe temporary files, and File::Temp is set to its highest available level of security. This may cause problems on some systems where no secure temporary directory is available. When the editor is started, no subshell is used. Your path will be scanned to find the binary to use for each editor if the string given does not exist as a file, and if a named editor contains whitespace, eg) if you try to use the editor "xemacs -nw", then the string will be split on whitespace and anything after the editor name will be passed as arguments to your editor. A shell is not used but this should cover most simple cases. METHODS
new(editors => [ editor list ], cleanup => 1) This method creates a new Proc::InvokeEditor object. It takes two optional arguments in key => value form: "editors" This should be a reference to an array of possible editor filenames to use. Each editor listed will be tried in turn until a working editor is found. If this argument is not supplied, an internal default list will be used. "cleanup" This specifies whether the temporary file created should be unlinked when the program exits. The default is to unlink the file. "keep_file" This specifies whether to reuse the same temporary file between invocations of "edit" on the same Proc::InvokeEditor object. The default is to use a new file each time. editors() This method gets or sets the list of editors to use. If no argument is supplied, it returns the current value from the object, if an argument is supplied, it changes the value and returns the new value. The argument should be a reference to a list of text editor filenames. editors_env($arrayref) Takes a reference to an array of %ENV keys to use as possible editors. Each $ENV{$key} value is only used if that key exits in %ENV and the value is defined. The new values are prepended to the currently stored list of editors to use. editors_prepend($arrayref) Takes a reference to an array of editors to use, and prepends them to the currently stored list. cleanup() This method gets or sets whether to cleanup temporary files after the program exits. If no argument is supplied, it returns the current value from the object. If an argument is supplied, it changes the value and returns the new object. The argument should be any true or false value. keep_file() This method gets or sets whether to reuse temporary files. If no argument is supplied, it returns the current value from the object. If an argument is supplied, it changes the value and returns the new object. The argument should be any true or false value. first_usable() This method can be called either as a class method, in which it returns the first usable editor of the default list of editors, or as an object method, in which case it returns the first usable editor of the currently configured list. The return is a reference to an array, the first element of which is a filename, and the other elements of which are appropriate arguments to the the command. If this method can not find any usable editor, it will die. edit($unedited_text) This can be called as either a class method or an object method. When called as a class method, it starts an external text editor in the text supplied, and returns the result to you. The text to edit can be supplied either as a scalar, in which case it will be treated as a simple string, or as a reference to an array, in which case it will be treated as an array of lines. Example use of this form is as follows: my $result = Proc::InvokeEditor->edit($string); my @lines = Proc::InvokeEditor->edit(@unedited_lines); my @lines = Proc::InvokeEditor->edit($string); When called as an object method, it behaves identically, but uses configuration parameters from the object: my $editor = new Proc::InvokeEditor(editors => [ '/usr/bin/emacs' ]); $editor->cleanup(0); my $result = $editor->edit($string); A optional second argument is available $suff - example usage: my $reuslt = Proc::InvokeEditor->edit($string, '.xml'); This specifies a filename suffix to be used when the editor is launched - this can be useful if the data in the file is of a particular type and you want to trigger an editor's syntax highlighting mode. TODO
o Write a test suite. AUTHOR
Michael Stevens <mstevens@etla.org>. Also incorporating suggestions and feedback from Leon Brocard and Phil Pennock. Patches supplied by Tim Booth. SEE ALSO
perl. perl v5.10.1 2011-04-25 Proc::InvokeEditor(3pm)
All times are GMT -4. The time now is 02:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy