General :: Access Compressed File Without An Intermediate?

Jul 19, 2010

I'm trying to figure out how to access compressed files without uncompressing them beforehand, and also without modifying the application/script I am using. Named pipes do the trick, but only seem to work once

In one terminal I do this:

Code:
$ echo "This is a file I'd like to be able to read." >> my_file
$ gzip my_file
$ mkfifo my_named_pipe
$ ls
my_file.gz my_named_pipe
$ gunzip -c my_file.gz >> my_named_pipe

[Code]...

View 3 Replies


ADVERTISEMENT

General :: Copying A File As Root Through An Intermediate Computer?

Jul 23, 2010

I am trying to copy four files from my machine, through a second machine, and finally to the destination. The destination computer can only be reached through the second computer, and I am curious to know if there is an easy way to do this. I am able to ssh to the middle machine and then ssh from there to the destination. I know that I could just copy from the first machine to the second, and then from there to the third. I guess that I'm curious to know what kind of command I can run to do this all at once or even if I could do such a thing (which I'm betting I can). I need to copy these files as root on the destination machine too.

View 6 Replies View Related

General :: Unexpected End Of File. Gzip Compressed File?

May 4, 2011

I am going crazy with a gzip file. I can decompress the file in Windows using WinRAR but it is impossible on any UNIX operating system. the file seems to be ok. If I do file the_name_of_the_file.gz

I get: the_name_of_the_file.gz: gzip compressed data, from Unix, last modified: Sun Jan 30 14:10:21 2011

But if I do gunzip -f the_name_of_the_file.gz I alsways get: gzip: the_name_of_the_file.gz: unexpected end of file The same problem happens when I try to extract the file using the GUI tool in Ubuntu or MacOSX,

View 4 Replies View Related

General :: Need Writable Compressed File System

Mar 29, 2010

Can anyone recommend a file system similar to SquashFS but writable?

View 2 Replies View Related

General :: Windows - Creating Compressed Iso Image File?

May 17, 2011

I want to create a compressed ISO image file and mount that file to one of the virtual drives and access the content (read-only) without worrying about manual decompression/extraction.For Windows and Linux (Ubuntu) OSes.

View 1 Replies View Related

General :: Make Sure The Compressed File Wont Be Larger Than 300mb?

Jul 14, 2011

i am using the following command to backup and sql file:

tar -zcvf "$BACKUP_DST/$FILE_NAME.tgz" "$BACKUP_DST/$FILE_NAME.sql"


i want to make sure the compressed file wont be larger then 300mb, if it exceeds 300mb, split it into several files.

View 1 Replies View Related

General :: Security - Safely Zero Fill A File In A Compressed Filesystem?

Aug 29, 2011

I had read that the shred doesn't safely work for compressed filesystems when shredding a file, how this can be accomplished in a compressed fs ?

View 1 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

General :: Looking For Intermediate Distribution

Dec 13, 2010

I've used Ubuntu for about a year now and I really want to move on to a distribution that involves more hands-on customization and more cutting-edge packages (with a wide availability). I'm mainly looking at Debian Testing, openSUSE, and Fedora, but I'm open to any other suggestions. I know Debian has a huge repository of packages, and I was also wondering if there were any good third-party repositories to get significantly more packages in Fedora or openSUSE.

View 14 Replies View Related

General :: Must I Sftp To An Intermediate Server?

Mar 26, 2011

I can't sftp directly into a particular host. To move a file from my home machine to the host, I must sftp a file to an intermediate host; ssh into the intermediate host; and sftp the file to the final destination. Is it possible to avoid such madness?

View 5 Replies View Related

General :: Slackware LiveCD "Intinte" - Can't Mount Compressed SquashFS File System

Mar 7, 2010

I have a problem, I'm trying to make my own LiveCD, but I can't mount compressed SquashFS file system. Here I give you my limited LiveCD version... If somebody would take a look [URL]

View 5 Replies View Related

Ubuntu :: Get A Compressed File From Mysqldump?

Jul 13, 2010

I would like to have my backup script that I am writing to create a sql dump of my database and go directly into a tar file. Does anyone know how I could do this with one command?

To be more clear I would like to go from

mysqldump -u xxxx -pXXXXX tablename> currentbackup.sql
tar -czvf backup-XXXXXXXX.tgz currentbackup.sql
rm currentbackup.sql

To a single command somehow. Does anyone know how I could accomplish something like this?

View 2 Replies View Related

Ubuntu :: Bzip2 Compressed File Too Large

Feb 26, 2010

I have been having a recurring problem backing up my filesystem with tar, using bzip2 compression. Once the file reached a size of 4Gb, an error message appeared saying that the file was too large (I closed the terminal so do not have the exact message. Is there a way to retrieve it?). I was under the impression that bzip2 can support pretty much any size of file. It's rather strange: I have backed up files of about 4.5Gb before without trouble.

At the same time, I have had this problem before, and it's definitely not a memory problem: I am backing up onto a 100G external hard drive.

That reminds me, in fact, (I hadn't thought of this) that one time I tried to move an archived backup of about 4.5Gb to an external (it may have been the same one) and it said that the file was too large. Could it be that there is a maximum size of file I can transfer to the external in one go? Before I forget, I have ubuntu Karmic and my bzip2 version is 1.0.5 (and tar 1.22, though maybe this is superfluous information?)

View 4 Replies View Related

Ubuntu / Apple :: Backing Up Compressed File To An External Hardrive?

Apr 21, 2010

I am attempting to be careful in case my system crashes, and although highly unlikely my first question is if there is a way to first compress my Linux Partitions. After running the diskutil command in OSX's Terminal, I basically end up with this poartition scheme:

Quote:
Macintosh HD = 130GB
disk0s3 = 1MB
disk0s4 = 30GB
Linux Swap = 1.3 GB

I am sure there is a way in the Terminal to first compress disk0s3, disk0s4, and Linux Swap, and then output the compressed partitions into my external Harddrive. I have already read some of the suggestions that only /HOME, /etc/fstab/, list of installed packages, /opt, and /var/cache/apt/archives/-where all installed packages are stored, is what I should backup. But, please correct me if I'm wrong. Wouldn't it take quite a while to install all those packages again in case of a system failure. Or would it just be easier to untar all of them in their directories once Linux has been reinstalled. The closest command I have found so far in being able to achieve this is:

Quote:

sudo tar cvf - files | (cd target_directory ; tar xpf -) The above code is very suitable for what I am looking for because it enables you to copy files into another location by using the tar command where you would create In my case the new location would be my external harddrive. My external harddrive already has its own Linux partition which I am able to mount in Linux and that Linux sees as free space.

View 7 Replies View Related

Ubuntu :: Gnome Commander Does Not Add Files When Creating A New Archive/compressed File?

Feb 19, 2010

When trying to create a new compressed/archive file in Gnome Commander (GM) the file is created but the selected files are not added. I can open the new (empty) archive file and then add files to be compressed. I have tried using several different formats (zip, tar.bz and others) with the same results. The "file roller" is shown as a plugin but has no configuration other than the compressed file type.

View 2 Replies View Related

OpenSUSE Install :: Mount A Live Compressed File System For Reading & Writing From A LiveCD/DVD Image?

Jul 9, 2011

On a Linux CD/DVD, there are compressed filesystem images for the live version for KDE or Gnome for example, but they have no extension, but they are clearly an image file ( compressed filesystem images for the live version before installation ) !!

I was wondering, How do I mount these compressed filesystem images, after I copy the ISO content of the CD/DVD on my system .... I want to edit some files or packages and make some changes, like if I want to customize a live version of gnome for example ! ... ( I know you might be tempted to tell me to use KIWI etc to customize etc ..... ) ... but I want to be able to mount the compressed file system image, then edit it for reading and writing while it is in a subdirectory on its own ... i want to open it ! ... is there a way to do this ??? ... these type of files have no extension ...

i can open this compressed filesystem image then to edit for read & write ... before I roll it back again ..... If and when I succeed .... what should I watch out for ? ... will the same compressed file image but slightly modified work again ?

PS. that same question could be kind of translated or be extended like : how do I use unionfs/squashfs programs on the command line to mount these image files with no extension for read & write mode ???

View 9 Replies View Related

General :: Editing A Compressed Tar?

Mar 14, 2011

think of this directory as the current structure..

Quote:
|-- test
| `-- test1
`-- test.tar

test.tar is a compressed tar of /test/ (cvfz), now... I need to add another file called test2 to test.tar, WITHIN the test directory in the tar. Is this possible?

[Code]...

View 5 Replies View Related

General :: Kernel Not Compressed?

Dec 17, 2010

whether grub is able to load a non-compressed kernel and initrd, is mandatory to compress and why.

View 1 Replies View Related

General :: Get Compressed OS Downloads?

Jul 10, 2010

i can download a 700mb.rar to get almost a gig worth of iso.... so i was wondering if anyone knows a site where they compress the iso to a rar or any other format so that i can save time downloading....

Why i recently tried downloading knoppix dvd when i reached 3.2gb of 3.6gb the downloaded ended i mean i cannot resume...

View 14 Replies View Related

General :: How To Mount Compressed ISO Image

May 10, 2010

I have problem to mount a compressed (ISZ) image under Linux, which was created by e.g. UltraISO? I am aware about user-space fuseiso, but it fails to mount these images, as I have reported in Debian bugtracker (correct me if I ddi something wrong). I ask the community for a help: I need a proved solution to mount these images without decompressing them.I believe that CONFIG_ZISOFS kernel option cannot help, as it refers a special RockRidge extension (per-file compression with mkisofs -z or mkzftree).

View 1 Replies View Related

General :: Build A Non Compressed Kernel?

Jun 29, 2010

We are working on 2.6.28. We have a requirement that we should boot using a non compressed kernel image. how can I build a non compressed kernel?

View 1 Replies View Related

General :: Error: Bootmgr Is Compressed, Press Ctrl+Alt+Del To Continue

Jul 2, 2010

Here's my problem: While choosing to compress certain folders from within Windows 7, I marked the boot manager as 'compressed'. Now, when I try to boot, I'm not able to boot into Windows 7, or any other OS (I get an error: bootmgr is compressed, press Ctrl+Alt+Del to continue, which restarts the system and the same cycle continues.

I have a Windows 7 + open SUSE + Ubuntu 10.04 LTS wubi install boot setup. To complicate things, its a laptop, and the DVD drive is conked. Is there any way I can boot into any of my OS's? If not using a live boot, can I, perhaps make a bootable USB flash drive, boot into it and uncompress the boot manager ? Note: I'm typing this from another desktop, and I do not have Windows installed on this.

/ed:
Used this: [URL]..questions/137877/decompressing-files-on-an-ntfs-volume-from-linux/137906#137906 Still no go, getting the same error message.

View 2 Replies View Related

General :: Looking For Non Compressed Small Command Line System Distro?

Oct 31, 2010

We are having a lot of trouble with this.

We need a command line version of Linux like ttylinux. Any command line will do with the latest kernel. It should be around 50 megs.

But the problem is, all these small Linux versions are LiveCD or have a compressed file system.

We need a SMALL linux distro, that we can install UNCOMPRESSED (no squashfs etc) on a hard disk.

This is so simple I'm sure I'm missing something..

View 3 Replies View Related

General :: Unable To Access File /home/username/.iceauthority: No Such File Or Directory

Apr 21, 2011

Can't log into my XFCE desktop like I normaly do. all the sudden I get notified that my xsession lasted less then 10 secondsLooking at the error I can see this:

Unable to access file /home/username/.iceauthority: No such file or directory

Using failsafe I can start a terminal. From terminal I tried to start X

Code: sudo startx Result: Running on desplay:0

So I tried to run this;

Code: sudo startxfce4 And I get up a graphical desktop.

So this is not a critical situation as I easily can use this method to log on, but as there has been something causing this I would like to be able to resolve this nonetheless. Btw it is not the old chmod trick in play here, cause my .iceauthority file is gone alltogheter.

View 6 Replies View Related

Ubuntu :: Can't Activate Intermediate Or Advanced Graphics?

May 1, 2010

I just installed Ubuntu 10.04 on my desktop after Windows 7 screwed up. I am running an AMD 64X2 2.6GHz CPU. An nVidia 8800GT GPU card. And for some reason I can't activate intermediate or advanced graphics. I am sure it is a driver problem, but I am unsure how to fix it.

View 3 Replies View Related

Ubuntu Networking :: Seamless Ssh Through Intermediate Host?

Sep 17, 2010

My situation is that I've got a home connection, with a router that my ISP won't let me access (to forward ports etc), and all incoming ports blocked as far as I can tell. I would like to be able to get around this and allow incoming ssh connections to a home PC. To facilitate this I've got an (user) account on a remote shell account, which does not have all its ports blocked and which I'd like to use as an intermediate to ssh into my home machine.

What I've managed so far is to ssh into the shell account (let's say it's on intermediate.host) and tunnel a port back to my home machine (let's call it home.host) by running the following on home.host:

ssh -fNR7777:localhost:22 myuser@intermediate.host

Then, I can ssh into my home machine from the shell account with a simple:

ssh -p 7777 myuser@localhost

OK, well and good, in principle I can then ssh into the intermediate from anywhere, and from the intermediate ssh into my home machine. BUT, I'm curious if it's possible to make this a seamless procedure so that if I connect on a particular port to the intermediate, it simply puts me onto the home machine directly (with appropriate ssh keys in place, of course.)

One reason is it would be more convenient. Another is I would like to be able to make sftp connections to the home machine from anywhere, which I don't see would be possible with the above method. Still, it should be possible, right?

So three questions basically:

1. Can I somehow make the connection to my home go seamlessly through the intermediate host?

2. Can I do this without root access to the intermediate? (I've only got a regular user account there.)

3. Is there any way to do this so that another person could reach my home machine (say for sftp access) without giving him my login details for the intermediate host? (I would create an own account on the home machine, obviously.)

View 9 Replies View Related

OpenSUSE :: GNU Make Keeps Deleting Source (intermediate) Files

Aug 13, 2010

I have a strange issue, when I run my build on my modules. GNU make keeps deleting the source *.c files from all of my modules. It says that they are intermediate files, and deletes them. I have the source files declared as such in the Makefile.

C_FILES = file.c

Anyway I can prevent this deletion?

View 9 Replies View Related

Ubuntu Installation :: Intermediate Distrution Upgrade / No Longer Boots

Jul 22, 2010

Summary: After intermediate upgrade, Ubuntu Lucid LTS 10.04 64bit Desktop Edition will "NOW" not run in any Graphics mode on my machine.

General; Ubuntu has been my favorite OS to live on, play and relax. I have to use other OS'es, but I choose Ubuntu as "mine". I can go around it safely and tweak it to my own likings and needs. It has also been a great tool to exchange things between other OS'es.

History: I started with Ubuntu Karmic Koala 9.04 64bit Desktop Edition. Last March, I upgraded to Ubuntu Lucid LTS 10.04beta 64bit Desktop via the Update Manager, using Ubuntu's instructions... as a Beta Tester. I kept up with Updates and everything had been fine.All went well, albiet minor adventures that gave me oportunities for enriched challenges and training. Overall, since the early days of that, my system has been very stable and reliable- Until last Saturday through Yesterday...

Problems: First thing I noticed is that there were some security updates Friday. Saturday when I came up into Ubuntu, it came up in error saying it had to come up in a low graphics mode. I shut down the system and restarted. It came up fine and I thought nothing more of it at the time...

Second, I tried to install Ubuntu Lucid LTS 10.04 64bit Server Edition on another drive. My other drives were isolated. Although the install said it was successful, on reboot, it would not boot the system. It would get a purple splash on my screen, then either lockup or go to a text based screen dump. Server Platforms said this was a text based OS and couldn't explain the purple flash or the error... I shelved this project until later and thought nothing more of it.I checked for updates through the weekend (even though there usually isn't any on weekends), and as usual it said everything was up-to-date.

Third, Monday the "Update Manager" said there was too many updates to do at once, that it needed to do a partial update. I selected, but it couldn't complete, because it said that there was conflict on a KDE package that it said it needed to remove, but couldn't because it was in a blacklist. It further said that this could have resulted from a DEV vervion of Ubuntu.

Fourth, I upgraded some packages through the Synaptic Package Manager, to try to reduce the number of packages that the Update Manager was trying to update. All those packages said they updated fine. I then went back to the Update Manager and it still said it needed to do a partial update... but it completed and said it was successful. I noticed that the top of the dialog box was tiltled "Distrubution Upgrade." I noticed that some of the files seemed to be an xorg upgrade... After the update, I had to do other things, so I shut down my system.

That was the last time this machine has been able to start Ubuntu. When Ubuntu tried to startup, it said it had to boot in a low graphics mode, but could not- it blasted the monitor with vertical purple and red lines.I had a copy of the Ubuntu Lucid LTS 10.05 64bit Desktop Edition LiveCD on my other machine. I burned a CD and tried. The only mode I can get to boot from the CD (on my machine) is in a text console- no xwindows system. On starting up an xwindows system will blast the grahics of the monitor, then (sometimes) continue to a monitor test-based screen dump that flashes by until the system locksup.

View 6 Replies View Related

General :: Windows Access The File From Ubuntu Got Read Only Even Though Have A Full Permission To Read, Write And Execute The File?

Feb 4, 2010

What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.

View 1 Replies View Related

General :: Can't Access The Php.ini File

Feb 28, 2010

I am having a really annoying problem. I have a VPS service, not shared. I am trying to access my php.ini file though PuTTy and the location is /usr/local/lib/php.ini I do the following command

pico /usr/local/lib/php.ini

the file seems to be empty, all that is brought up:

date.timezone="America/Denver".

I need to access it and change some settings!

View 1 Replies View Related







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