What we want to do: be able to see the contents of an iso image (what files exist in the iso image) as well as being able to add data to the iso file or remove them.In order to be able to see the contents of an iso image we have to follow a process similar of that like mounting a device. In order to do so let us assume that we have the file: example.iso, under /home folder.In order to do so, we have to install the program isomaster (go to synaptic package manager and type isomaster and the program will be displayed) and then open it (via applications->sound&video). Then, browse to where the iso image exists and with the options: remove, extract, e.t.c. do the necessary steps you want. In order to save this "new" iso image with the additions you have made, you have to save it as an iso file. Go to file, save as and your new iso file is ready to be burned.
I wonder capability of awk to manipulate data in consecutive multi files by read one batch file.for example I have files: data1.dat, data2.dat,data3.dat and listfile.txt
Is there any Linux tool to create new or modify exiting key/value pairs in text configuration files? For example, to change a setting in xorg.conf, or change something in etc/networking/interfaces? I know it could be done by sed or by perl scripts, but it could be easier to have a program for this purpose. There are many difficulties for this job that the program should consider, and I am facing nearly all of them:
- Some configuration files may have sections. Like in Windows-type INI files (for example: "[something]"), or like Section in xorg.conf. More sections with the same name can occur, like in xorg.conf.
- If the key/value pair originally does not exist, then the program should add it. But not to the end of the file, but tothe end of a predefined section.
- Config files can have remark lines. Remark text can be even at the same line than the key/value pair. After modifying the value, the original remark text should not change at the end of the line. The remark-starting symbol is not always. - The values in configuration files are not always simple numbers or simple words, but in rare cases, they are composed by more words, for example: item=name address phone
And of course, we can have remark at the end, like this: item=name address phone # remark text
- The key-value separator depends on the file. Some files use "key=value" format, some other use "key value" format, or even "key1 key2 value", like xorg.conf. The as separator can also occur.
- Case sensitivity can also be an issue.
- Sometime to desired task is not to modify a value, but to add or remove a line beginning remark to a certain line.
I think that managing all these possible cases by a perl or sed program is nearly impossible. I begun to write a C program, but maybe there is already one?
I have been using sed to manipulate a csv file but I have one problem that I can't solve. The csv file has many line and many columns. If in a particular line column 2 has a certain value I want to replace that value with the value in column 5 in the same line.
i have a .pdf that i scanned in at kinko's today. unfortunately one of the pages was scanned upside down.is there a way for me to correct this in linux such that i can just open the .pdf select the page and rotate it until it is right-side up?
My latest rpm package building project is a ham radio program called rmsgw. The source code tarball is a "make" and "make install" affair. It's Debian style Linux format fails badly on a Fedora install, so some tweaking of a configuration file is needed.I presume sed is the right tool for this job. I have no experience with sed and I don't want to spend a week or more in 'info sed' and doing endless trial and error if I can avoid it. I need to change one line in a text file named rmsgw.mk with a command(s) in the spec file.The original line:
Code: PKG_LIBS := -lwl2k -lrms -lmysqlclient -lxml2 The line as it needs to be for 'make' to succeed to build the binaries:
i'm unable to see some musicvideos on videos in germany trough copyright restrictions. i can see these videos by using a tunnelservice, but it isn't very comfortable. in that case, i have to copy the url and paste it at the end of the tunnelservice url. a lot of stupid work.
my problem is, that i haven't enough experience to automate these actions.
i think, that i have to modify the url befor it goes to the server. there must be somewhere in the osi stack a place where i simply can modify that url with a regex but i don't know where
I own Fedora Core 12 and an HP scanner. I want to make digital copies of all the pictures I took a few years ago. I have a lot so I tried scanning five at a time thinking I could cut and paste into smaller images like with MS Paint on Windows. HPLIP 3.9.12 wouldn't let me modify the scans so I tried GIMP 2.6.10. GIMP 2.6.10 is a nightmare! When I opened my scan of five pictures I had trouble opening a new image. Then I had to specify the size of the new image. The when I cut and pasted I couldn't rotate. Then when I figured out how to rotate my image was too small.
Then I tried scanning just one picture but HPLIP left a lot of blank space. I tried cropping out the blank space with GIMP but the image size was the same with the blank space. I don't want to post photos to Flickr that are mostly empty space.I wish I could show you examples but the forum won't let me post them.Any ideas or suggestions for a program for Fedora Core 12 that's got the functions and features of MS Paint?
I have an application which looks in a particular directory for it's settings. For example varsetting.txt. These settings are stored in a text format and can be edited easily. I would prefer to keep this setting.txt file on a USB stick rather than the HDD for portability so that I can easily use the same settings on two linux PC's without having to redit them everytime. I have tried but cannot manipulate the application to look in a different location for this file, do you know if it is possible to "point" linux to another location when looking for the file?
I setup a SSH server on my computer on a very high port, so that my brother could surf the web through my computer from Iran, since the majority of websites are filtered there.
Today, he told me he cannot connect to my computer. That's why, I got suspicious that they are doing packet based filtering instead of port. Then I decided to change the port to 433 for https, but one of my friend told me that they just banned https in Iran as well.
I was wondering if there's any way I can manipulate SSH packets between two computers so that my brother's ISP won't figure out he's exchanging SSH packets?
When playing a song, I am unable to manipulate the seek bar and skip to&fro, it's seems absolutely except for the fact the cursors (if that's the right word for it) glows, and it says "Jump to XXX" but it does nothing. This pretty much happens on any and every song, however if I play another track come back it may or may not work. Sometimes it works fine (usually not), but it'll freeze again after the track changes.
Have managed to create a simple script to poll the various printers we have at our company for a page count via SNMP. At the moment the script echos the printer name to a text file and then the snmp output is appended to the next line. In my rush I thought by using sed to add a comma to the end of each line would mean it would import in to excel nicely. So rather than having:
Having downloaded remastersys, I tried to make a custom iso with mixed results.Whilst i got all my installed programs included, it didn't install my MacBuntu theme or cairo-dock by default. How can I manipulate remastersys to load MacBuntu and cairo-dock to launch when my custonm iso is booted?
how can i manipulate the source code of ps command in order to hide a process from the list that run by ps.as you know ps command list all the process that exist in /proc.so how can i do this??this is part of my assingment...
I get a SD card. Put in the SD reader. It's empty. I go to my super-important-pictures-to-a-monthly-relatory folder and select all files. Select them for MOVE. Paste them on the SD card. When the move/paste process is finished, i click on the "Eject" button on top of the SD card name. Card's ejected. I can't access the card anymore. I take out the card and put on my other computer. From 300 pictures, there are only 10 available, the remaining ones are there, but with 0bytes and unrecoveable. I panic. I go back to my main computer, my pictures are not there anymore. The pictures were on the Home folder. I panic again. I reset the computer and boot on the LiveCD. I install foremost, scalpel, photorec and about everything till my USB drive complains about being filled up. I run everything and I can't recover my files. I'm in the danger of getting fired. Things like that makes Windows sounds more appealing. When you securely remove a pendrive, things get REALLY pasted there before screwing everything up with a removal.
I have installed this program ok but I am new to command lines in terminal.
I want to convert some wav files to wma files. I have the wav files currently in a folder called Test to make it easy. So I have entered the following command line:
ajpearson@ajpearson-laptop:~/Desktop/pacpl-4.0.5$ pacpl --to wma home/ajpearson/Desktop/Test and the error message I get is:
error: the following is not a file or directory: home/ajpearson/Desktop/Test
It does not matter what directory I use I get the same error. I am sure the answer is obvious - but not t me.
I have a Kingston 8gb Datatraveler that has been giving me troubles lately. For some reason after I delete files from it it still shows up as full and the files are shown in the hidden trash files. How do I get rid of these files? I can't delete them as they just show back up. Also, I tried to format the drive with gparted and it won't unmount. When I right click and select information, at the bottom it says: Unable to find mount point. Unable to read the contents of the file system. Because of this, some operations may be unavailable.
I am using the diff command with the -r option, to compare a large number of files and files in subdirectories. My main interest is to find out which files have been changed, and not what the actual changes are, and since a lot of files has been changed, it would be a lot easier to view the file names only. Is there and option for diff that might do this, or does there exist a similar tool/command that could do the job?
the VBO file that i want to burn into a dvd is around 7.9 gb. i want to know if it's possible to split them in order to burn the files into two diferent dvds.
I changed to wubi last night, i decided to go that way cause i was informed it was a safe way to try giving it a try for linux and ubuntu without any special effort needed to be payed and easily deleted if i am not pleased.Thankfully i am pretty satisfied with the results, i pretty much dealt with most of the issues i have faced so far successfully and i am running it ok beside one important thing.See i am using my laptop, which has a hdd of 250GB.On my Vista there are 2 different hdd C+E by default, they separated my hdd.So while i have windows on C and E is pretty much used for my additional data(see movies, music etc) when i installed wubi i installed it on E, thought it would be better and it had more space.
Now though, while i can access threw ubuntu all my files that were located on C(vista) i cant access any of the E ones, and search file dont helps either.The "vista hdd" as ubuntu describes it, its a 250 gb disk on computer, which means it should contain both of the vista disks.But sadly thats not the case.i cant seem to be able to find them anywhere.
What would be a nice, simple command to go through all files in a directory (no sub-directories), and change all the MP4 Video files I have to MP3 audio files (keeping the original filenames except for changing the "mp4" extension to "mp3")?
The files in question were videos taken with one of those Flip cameras, but I only need the audio off of it.
I have noticed that the files and folders search in Unity, only shows up those files which have been amended (or possibly just opened) since the install.
i was wondering if there was a way i could have the search index (or something vaguely equivalent) all the files on my machine. This is especially important given that i reinstall the OS every six months on a new distribution cycle, copying all my old files across.
Without being able to see my old files the search is pretty much reduced to a recent history search.
the permissions for my home directory were accidentally changed from 'access files' to 'create and delete files', and I changed them back, but ever since then I am not able to change any preferences/settings at all. power management, themes, panels, emerald, anything. my user account is supposed to be the administrator, and all the user privliges are checked. how to get control of my computer back?
Is there a method at the command line to copy files from one location to another and retain the source files group and user?I'm migrating some MySQL files from one machine to another.I want to back-up the original files in the directory presently. They have owner:group of mysql, some have owner:group root:mysql and so on. To copy them under cli or Nautilus everything changes to root for I execute sudo cp or gksudo nautilus and copy via gui.
Since it is MySQL data I could simply do a dump of the database and restore it on the other machine. But there's about 20 db's and I want to do this via a copy for it will be faster - at least that is what I think.
OS: ubuntu10.04 LTS running on latest oracle virtualbox. This works: I have opened a ubuntu one account. And I can log into that account. But I have to do so by: clicking 'ubuntu one' in top bar, and click 'account' in prompt that appears. Shouldn't log in take place automatically? Being logged in I'm able to make new folders. And appearently able to enter them (they are empty I quess) If I try to upload a file clicking 'upload file' in ubuntu one. A prompt appears and I choose the file to upload and click 'continue'. The prompt says "uploading" but nothing happens. If I choose a document folder and click 'mouse click right'. And then click 'sync with ubuntu one'. It prompts that it syncs the folders. But nothing happens.
I am newer to Linux ( using Ubuntu 10.04) : I have noticed that during replacement of a file , no date and size of the new and old files are shown in the dialogue box so how to show that ( like the one in windows)
I know that it is easy question , but i really don't know how to do that , by the way I have checked folder preferences and system --> preferences but i did not find something for that