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


ADVERTISEMENT

General :: Make Picture Icons Larger When Selecting A Picture File To Open?

Jul 27, 2011

I'm trying to use Pinta Image Editor but I cannot find an option to preview the image, in a viewable size, before I work on it.

what to do in this situation? Prefferably it would be nice to view all the pictures as thumbnails.

View 1 Replies View Related

Ubuntu Servers :: Strange File Names - Getting Larger And Larger All The Time

May 3, 2011

Using Samba I have looked into the file that stores all my web sites, there were a few strange files that get larger and larger all the time. File names are _Za01716 and _Za01820, they are nearly 50mb in size now. I know these are not Log files so what are they and can I delete them?

View 1 Replies View Related

General :: Make My Swap Size Larger?

Jun 6, 2010

I just installed Lubuntu 10.04 on old PC (CPU: 700 Mhz, RAM: 640 MB). My swap partition is only 474 MB. I was told it should be twice my RAM, if that's true then I'm really low on swap space. Can I expand my swap space? I also have Fedora 13 installed, it has a 1.3 GB swap partition, can I have Lubuntu use this partition?

View 5 Replies View Related

General :: Change Resolution In Zorin To Make The Text Larger?

Jun 12, 2011

how do i change resolution in Zorin to make the text larger.

View 5 Replies View Related

Server :: PHP File Open Larger Files Or Fopen Files Larger Than 2gigs

Feb 16, 2011

I have a ubuntu 10.10 server with apaceh2 and php and I want to open a file larger than 2gigs

I've read there is a flag that needs to be compiled into php to do this ?

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 :: Use Command Line And Wmctrl To Make A Window Larger Than The Screen To Get A Huge Screenshot?

Jan 24, 2011

I use a program which makes a large image which I have to scroll to view. The program has no way to save the image, and I have no access to the source to modify it. The only way I have to get the image from the program is by screenshot. My goal is to save the full size image without having to piece together individual screenshots. I'm using this script to try taking a screenshot:

#!/bin/bash
window=$(wmctrl -l | grep "Program$" | awk '{print $1}')
wmctrl -v -i -r $window -e '0,0,0,6030,5828'
wmctrl -i -a $window
import -window $window ~/Desktop/screenshot.png

This uses wmctrl to get the window id ($window) for a window named "Program". It then tries to resize the window to the desired dimensions. It uses imagemagick (import) to save a screenshot.png on the user's Desktop. All of this works except the resize step. I can resize the window using wmctrl -r -e, but sizes greater than the screen size don't work. I'm using Ubuntu 10.04 and the Gnome Desktop. I run two monitors, but I've tried this with one of them disabled. Is there a way to resize the window larger than my screen to get a huge screenshot?

Part II: I tried using xrandr to set up screen panning, so as to have a bigger desktop than my monitor. xrandr --output LVDS --panning 2600x2500 This command makes the laptop screen pan over a 2600x2500 size desktop, even though it can only show 1440x900 at one time. To turn off the panning, I can use a similar command to set total size and with zeroes for the panning section. This gives me back my original laptop display behavior. xrandr --fb 1440x900 --output LVDS --panning 0x0 This is all done with xrandr, and does not require any Xorg.conf changes (my Ubuntu system doesn't even have an Xorg.conf).

My video card seems to only allow about 6.5 million pixels, even though the maximum dimensions are 8192x8192. That maximum seems to be the maximum for either dimension, but there is a limit to how many pixels can be drawn, which is the width multiplied by the height. Once I did the screen resize, I tried my script again and got a screenshot. The screenshot however is totally scrambled. I'm not sure if it's unable to take a screenshot of an off-screen window or if it is unable to handle the large dimensions of the window. With the panning display, the window should think it is visible, and the window manager should think it is on-screen. So there is a pixel buffer somewhere with those pixels in it, so there should be a way to get a screenshot.

View 1 Replies View Related

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 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 :: 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

General :: Disk Based Text Editor To Edit File Larger Than Memory?

Aug 2, 2010

I am using Ubuntu and looking for a good editor to edit a file that is > 4GB. I just need to put content at the end and beginning of the file. I suppose I could use something like

cat "text to add" >> huge_file

To append to the file. Is that the route to go? What about prepending? In general, what is the best route if I wanted to edit somewhere in the middle?

I've tried VIM and it fails miserably. I assume emacs and nano would be even worse. What else is there? I assume to accomplish what I am looking for, the editor would have to be specifically designed for this by not keeping the entirety of the file's contents in memory.

View 5 Replies View Related

Hardware :: How To Make Font Larger?

Dec 15, 2009

I'm using puppy Verson 430. When I open a "console" window the lettering is too small to read comfortably. How do I make the font larger?

View 1 Replies View Related

Software :: How To Make KDE App Menu Larger?

Jul 10, 2011

My KDE Menu can only fit 8 app. Beyond that I have to scroll the favourite menu.How can I make it larger and fit around 16 app list while retaining the same icon size (i'm happy with the size).I'm full time linux (kubuntu 11.04) for over a week now, still changing and tweaking interface to my taste.In windows, I can fit around 20+ in start menu, here I couldn't find a way.

View 1 Replies View Related

Ubuntu Installation :: Make /tmp Buffer Larger?

Mar 16, 2010

I have read that if /tmp is too small, videos choke, and other problems occur.

On my machine, one of the problems was that I couldn't download things because /tmp got full and when I went in to delete some tmp files, I wrecked the system...(not too intuitive I guess).

So this time around, how can I increase the size of /tmp, as well as have it emptied on startup?

I don't want to have it emptied on shutdown, because if I get a crash, the /tmp will still be full...shutdown just doesn't seem to be a reliable place to put essential housekeeping tasks.

View 9 Replies View Related

Ubuntu :: Any Way To Make Power Icon Larger In 10.04?

Sep 8, 2010

Is there any way to make the power Icon at the top right of gnome panel larger in 10.04? This has been a problem for a while now. For people with less than perfect eyesight (my mother) it is far too small to be functional. Increasing the size of the panel to something useful on a large screen increases the size of most icons also, but the power button remains resolutely tiny. Another problem for her is the selection of window edges (too be honest, I find this frustrating myself) The selection area is incredibly small on a 22" screen and impossible for her to select.

View 2 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 :: 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

General :: Make And Sh Commands - Make A File Called File Roller For Ubuntu 9.10

Apr 6, 2010

I want to make a file called file roller for Ubuntu 9.10. The folder has a file called install.sh and some others that are make.

I figure first I need to make a file and then run install.sh to install. But I don't know how to do this.

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

Debian Configuration :: Server Missing About 300mb Of Ram

Mar 15, 2010

I downloaded the most recent version of debian and isntalled it. Everything went really well there. Until i issued free -m on the box. It would appear that the server is missing about 300mb of ram which is okay for i figured perhaps the video card / sound was taking that amount of ram for it'self. it was not until i installed Xen and I found a bigger problem with memory and my system. for what ever reason when I attempt to create a domU with 512mb of ram, i need to add 19MB more ram so that when i issue free -m from within the domU it will show a total of 512. worse yet is that when i raise the total up to 1024 for 1gb or domU ram, i need to addd 28mb or ram. and add 28mb of ram PER GB i wish to add to the domU.

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

Ubuntu Installation :: Create Larger Then 4GB Casper File?

Nov 23, 2010

I have recently been experimenting with installing Ubuntu 10.10 on a USB/Flash drive, and have finally stumbled on the "Universal USB Installer", using a so-called "Casper" file for persistence.Now I wanted to make the Casper file bigger, and found this article:I was reading it, and got confused at this part:"This tutorial assumes that you have already created a bootable USB Flash Drive that contains Ubuntu or an Ubuntu based Live Distro like Xubuntu, Kubuntu, Linux Mint, Crunchbang, etc. You should delete any existing casper-rw file from the drive to free up all available space before proceeding.

1. Restart your Computer, booting from an Ubuntu Live CD"Do they mean that you have to make 1 flash drive that was created with the Universal USB Installer, and has a Casper file on it, AND you have a Live CD from which you operate?If so, could I use one flash drive that acts like a Live CD (without the Casper file), and create another flash drive that DOES have the Casper file, and then boot from the one without, and follow the instructions? (Sorry for the complex sentence, didn't know how other to put it...)

View 6 Replies View Related

Ubuntu Servers :: Options For A Larger File System?

Apr 27, 2011

I have considered a range of choices, but at the end of the day the choice I make can quite easily put into a situation that requires even more thinking.

The idea is to have an enormous file system for SAMBA that can scale from terabytes to petabytes. Such as a single directory with say 4 million MP3s in my iTunes collection. iTunes cannot use multiple drives easily.

There are lots of vendors that have offerings galore, I wanted to see what can be done with a roll your own approach.

View 5 Replies View Related

Ubuntu Installation :: How Makes Larger 'file Systems' Using /etc/fstab

Mar 12, 2011

I have noticed the (understandable) tendency of new Linux users to think about disk drives in the 'Windows way'; their first thought is to exchange a new drive for an existing one, rather than combine both drives for a larger 'file system'.

There are times when replacing one drive with another is indeed the correct action (aging drive, failing drive, slow drive, etc). But in other cases it may be preferable to use the inherent strength of the fstab (file system table) file to combine physical drives to become a larger 'file system'.

Lets first look at a user with an 8 gig netbook who is running out of space. Rather than replace the 8 gig flash drive with a 32 gig device, the old and new devices can be combined to yield a 40 gig 'file system':

This same principle can be applied to a user with a computer using an 80 gig hard drive, and who 'adds' a new 320 gig drive instead of replacing the 80 gig drive with the 320 gig drive:

This same principle can also be applied to building a massive 'file system' without the requirement of using RAID:

The above 12 terabyte system can be built using a basic motherboard with four open SATA ports and four 3tb hard drives. No server based equipment is needed; no raid hardware or software is required. This is just something that Linux does (and does very well).

View 2 Replies View Related

Ubuntu :: Make The "desktop Folder" Larger?

Feb 9, 2011

I am using Kubuntu 10.10 although I will probably revert to Ubuntu when 11.04 arrives as I can't get my head around so many things, and it does crash from time to time. The real reason is I work with photos a lot and the icons won't show me the picture. But I will come back and try again in a year or so as, on the whole, I do like what it is about. I am trying to increase the size of the desktop folder but cannot see any way to do this.

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







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