Ubuntu :: Compare Folder Sizes By Bytes?

Dec 5, 2010

As a recent migrant to Ubuntu from Windows, I was expecting to be able to compare the sizes of two folders or set of folders by Bytes (as in windows). I'm slightly OCD when it comes to my personal files and folders, and I like to maintain identical backups in various pen-drives; as such, I was hoping to be able to track the file sizes of each folder set, but I can only do so in Kilobytes... Is there any application or other means by which to compare sizes in bytes --as is the case in windows?..

View 1 Replies


ADVERTISEMENT

Ubuntu :: Error: Allowed Memory Size Of 20971520 Bytes Exhausted (tried To Allocate 7680 Bytes) In /var/www/index.php On Line 2

Jan 9, 2011

I recently had to move to a new machine, everything went well except for one thing. I did fresh installation of LAMP server all with default configs. Every time I'm using PHP script to that invokes include, require or require_once I get the following error:

Code: Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 7680 bytes) in /var/www/index.php on line 2 index.php file: PHP Code:
<?php    include "index.php";?>
icukapi.php file:
PHP Code:
<?php    echo "test";?>

My memory_limit in php.ini is set to 20M. I tried to increase that however it didn't quite work. PHP seems to allocate all possible space and return that message every time i try. If somebody has an idea of how to fix it I would be more than grateful. I spend quite a long time searching for an answer however the all things i found suggested increating memory_limit which in this case doesn't work.

View 1 Replies View Related

General :: Compare Files On Ftp-server And In A Folder?

Apr 12, 2010

How to compare files on ftp-server and in a folder in Linux?

View 4 Replies View Related

Ubuntu :: Swap Partition Is Always At 0 Bytes

Jan 8, 2011

How do fix my Swap Partition? Last night I added unused space to the main Ubuntu partition. Now I noticed the Swap Partition is always at 0 bytes. I'm using a Sony Laptop, and have enclosed two screenshots. One of the Disk Utility and a system monitor.

View 9 Replies View Related

Ubuntu :: Blank CDs Read With 0 Bytes Memory?

Jan 14, 2010

Every single blank CD i put into my computer show it has 0 bytes of memory and i cannot write things onto them. I dual boot 9.10 and Windows XP, and Windows reads them just fine. Ubuntu will mount the disk as "Blank CD-R Disc, i can access it, and everything works except when i look at the properties it says there are 0 bytes used and 0 bytes free. The drive reads discs with data on them just fine, and they work flawlessly, its just blank discs that dont work. What i need to know is if there some property i need to change or a line i need to put in the terminal to make it read blank discs? Or am i completely screwed?

View 5 Replies View Related

Red Hat :: Calculate Bytes-per-inodes Value?

Feb 17, 2010

I am a brand new member

here is my question :

in a RedHat configuration :

i need to be sure that a partition has been formatted with those parameters code...

View 3 Replies View Related

Ubuntu :: File Transfer Speed Shown In Bytes/sec ?

Apr 20, 2010

I have few different usb cards and socets , some of them i have really hotwired.. and i would like to find out where to keep my usb-hdd . few months ago i would use "total commander" it would show .. copying-444Kb/s but these times are over...

View 1 Replies View Related

Ubuntu :: Format A 2 Tera Bytes Harddisk With The Console?

Aug 18, 2010

Visibly the 2 tb are not supported by Ubuntu. cfdisk does not like my harddisk not fdisk. I am bit stuck. I havent X11

View 9 Replies View Related

Ubuntu :: Root Partition 0 Bytes Remaining After Enlarging

Sep 2, 2010

I recently cleared out some old partitions, and "/" was getting full so I made it bigger. It went from about 2Gb to 7Gb.

Now when I boot into my OS I get a dialogue saying:

Code:
The volume "Filesystem root" has only 0 bytes disk space remaining

You can free up disk space by removing unused programs or files, or by moving files to another disk or partition I don't see how this is possible. If anything it should have more free space than it had before. how I might go about diagnosing this issue?

View 9 Replies View Related

Ubuntu :: Disk Space Vanished - Only Had 0 Bytes Left

Apr 28, 2011

I was saving a few pictures, and I realized that none of them were actually being saved. I went to my home folder and I noticed that I only had 0 bytes left, then I deleted everything in my trash, got some space back, then it disappeared.

View 3 Replies View Related

General :: What Number Of Bytes Should Set The Bs To In The Dd Command

Apr 3, 2011

I have just created a usb boot disk so that I can install Fedora 14.I used the following which was successfully. However, I am left wondering what does the bs parameter actually does. I know it mean bytes and copies these at a time. But how do I know what to set it to?dd if=F14-Live-i686.iso of=/dev/sdb bs=8MIn the above example it is set to 8MB. However could I set this to any value that I want?

View 1 Replies View Related

Networking :: Get Usage's Bytes Of A Specific IP?

Sep 14, 2010

I need to get usage's bytes of a specific (src/dst)IP adress;can i use this
#iptables -L -n -v -x
with the other options that get only byte of the specific IP address?

View 4 Replies View Related

Programming :: Fill A File With N Bytes Of A Given Value?

Dec 17, 2008

How do i fill a file with <n> bytes at a given value ,for example 3?

View 3 Replies View Related

Ubuntu :: DD And Cloning External Harddrives Of Different Sizes?

Feb 17, 2010

In the past, I have used dd to replace (as well as overwrite) hard drives.

If you do a direct clone of a drive, you are supposed to make sure the target drive is the same size as the source drive.

It is quite important that I am able to clone a failing drive (250GB), however, my only other drive available is a completely new 1TB external hard drive from a different manufacturer.

Is it still possible for me to safely clone the failing drive? If yes, how would I go about doing this? Make a 250GB partition on the 1TB drive?

If I use the TB drive as a "temporary backup", and once I have copied over with dd burn everything directly to DVDs, and then restore the TB drive to it's original state, will this be able to be done?

View 6 Replies View Related

Ubuntu :: 9.10 Alternate CD File Sizes Vary?

Apr 26, 2010

I'm downloading the iso images for 9.10 Alternate CD. As the desktop does not work, graphical. For whatever reason even once it starts to boot live (With no direct install) it says in the "boot terminal" (non-graphical, full screen) as I call it "Authentication Failure even bEFORE the actual program is loaded. Asks me for username / password which does not exist, etc. I'm sick of windows. I used Ubuntu for about a week and fell in love.

Windows is poppy-cosh, compared to the speed, performance, customization, updates, few errors and bugs, everything is superb! I already converted my fiance and best friend to using the OS in Dual-Boot I'll be an avid supporter and do even more using my media company to help promote xD What's the point? Wine allows me to use all the programs I need that require windows, regardless.. You have converted me. "If you build it, they will come." Amazing job.

I tried re-installing windows and to no-evail for whatever reason screwed up my entire re-installation of Ubuntu. Instead of saying Owner it says Administrator for the new install. Here's my list:

1.) I need to completely wipe out all partitions and start over with a "fresh" HDD. Any ideas how to do so without an OS? It was suggested on wiki answers to use BootDisk.com

2.) I have the torrent downloading which is 689.6MB [URL] and the normal ISO which is 690MB [URL] from two different Ubuntu.com pages...Which do I use? Why are they two different file sizes? I assume the larger file size is the best to use. This has happened when downloading the Desktop CD as well. The lesser file never worked properly. Do you guys have incomplete files on the server or something or perhaps just my hardware?

3.) Use alternate installer to have Ubuntu as the ONLY OS. Alternate Option: Put Ubuntu alternate cd installer onto my external HDD by Seagate and boot up to it, then install ubuntu...

View 5 Replies View Related

Ubuntu :: Command To List Directories And Sizes?

Mar 23, 2010

I need a command to list the total sizes for all the directories in a mounted drive.I tried df and du.df list the total size for the mounted drivedu depending on what option I give it either list the total size or list all the sizes for every file on the drive.All I want to know is the sizes of all the directories on the mounted drive.This is a windows vista hard-drive and for some reason ubuntu is reporting a 50 GB partition and only 10GB free, I want to know what's taking up all the free space. I can't find anything in the file browser, so far I've only managed to count up about 10GB of used space so where is the other 30GB.

View 3 Replies View Related

Programming :: Read X Bytes From Serial Port?

May 5, 2010

I am trying to write some code that interfaces with an AVR over a serial port. Basically I send a command then read the output which is 6 bytes. I need to receive all 6 bytes before the program continues. Is there a way to do this? If I use read() it returns -1 unless I add a delay before reading the port. Is there a way to get it to read the 6 bytes as soon as they arrive?In python you simply say how many bytes you want and the max time you are willing to wait which seems a whole lot easier than read

View 1 Replies View Related

Security :: Logging Connection Bytes For Iptables?

Mar 28, 2011

I am wondering if it's possible to log the number of bytes a connection transfered when the connection is complete with iptables. I know I've seen this sort of information in Cisco FWSM logs, where the "Teardown" entry of the logs has the bytes transferred for that connection. Is it possible to have something similar to that with iptables? Where the initial connection attempt is logged (i.e. NEW, which I have logging fine) AND an entry for that connection that includes the bytes transferred?

View 6 Replies View Related

Software :: Overwrote First Bytes Of Windows Partition?

Dec 5, 2010

This question is only partially linux-related, but I accidently typed cp file /dev/sda2 instead of cp file /mnt/sda2. The first 300 bytes or so of the ntfs partition were overwritten and now it can't mount and can't boot. I figured I would try copying the first 4096 bytes from another ntfs partition and see if that gave it enough to at least boot. It didn't and I'm wondering if there's any way to fix this sort of thing easily (without downloading an entire Windows 7 DVD) and what exactly I overwrote that was so important.

View 5 Replies View Related

Programming :: Converting Vector Of Bytes To String C++

Mar 4, 2011

I have a vector of octets that needs to be converted to a std string. I'm currently doing it this way:

Code:
stringstream ss;
for (unsigned int i=0; i < data.size(); i++
{
ss << data[i];
}
string s_data = ss.str();

This works, but is there any better way to do it?

View 2 Replies View Related

Red Hat :: Not Possible To Set Default Paper Sizes?

Aug 31, 2010

The "[SOLVED]" attribute to the How to set defaulter size in RHEL5 thread notwithstanding, the problem really is not solved. I've set my default language to both "C" and to "EN-us" and the problem is that absolutely every single time I print, I have to meander through varying layout print menus to find the "A4" setting and change it to "letter". That, or sacrifice the last two lines on every page because the default size is larger than the actual size. Bad default. It is not unique to Red Hat/CentOS, of course. Same problem exists on Debian and SuSE, too. Why is this such an intractable issue? Why is there not some simple and obvious way to say, "squish all instances of A4 (or "letter") and replace with "letter" (or "A4")!"?

View 5 Replies View Related

Ubuntu :: Changing Partition Sizes Without Affecting Their Content?

Jul 6, 2010

I have a few partitions on my hard-drive, one for Ubuntu, one for Windows 7 and another for general data storage. When I installed Ubuntu, I was presented with a GUI which allowed me to easily reassign storage space from the latter two to create the former. Is there any way to get to something similar, from which I can adjust the proportions of the partition sizes, without affecting their content?

View 1 Replies View Related

Ubuntu Installation :: Can Other Screen Sizes Be Added To Nouveau

Oct 14, 2010

I had to install Ubuntu 10.10 5 times before the boot problem was fixed, but only now to find that the Nvidia GE Force 3 Ti200 video card is NOT supported by the current Nvidia drivers and the legacy Nvidia 96 video drivers has a known bug which may never get fixed.Currently I am running the 1024 x 768 screen size under Nouveau, but how can I change this to 1920x1080 ? Will creating an xorg.conf file work?I did have the GE Force 3 supporting the new 1920x1080p monitors under VGA mode and the screen looked fantastic in the past.

View 1 Replies View Related

General :: Search Partition For Specific Sequence Of Bytes

Aug 17, 2010

I lost an important file. I know what bytes the file begins with. How can I search the partition for the sequence of bytes?

View 4 Replies View Related

General :: Delete 0 Bytes Files From A Fat Filesystem From Within System?

Oct 11, 2010

I have an external hdd which is formatted with fat for use by both on linux and windows. The issue is that I can't delete some of the files I have which show up with size 0. Also, the modification timestamp (as detected by Krusader, the file manager I am using) is 1935. How can I delete these kind of files without affecting the running fs?

View 1 Replies View Related

General :: Should Jpegtran Remove More Bytes Than Mogrify Strip

Aug 23, 2011

I'm currently using mogrify -strip image.jpg to remove unwanted bytes from images, it was suggested I could remove further data by using jpegran from libjpeg, something like:

jpegtran -copy none -optimize -outfile image.jpg image.jpg

The problem I'm having - if it even is a problem - is that jpegtran doesn't seem to actually do anything that mogrify isn't already doing. In all my testing the filesize just stays the same. If I remove the mogrify part of my code and replace with jpegtran then it seems to perform the same function.

For example:

image without compression: 300k
image with mogrify -strip + jpegtran: 272k
image with mogrify -strip only: 272k
image with jpegtran only: 272k

I was under the impression though that mogrify just removed image profiles/comments and that jpegtran did this as well as losslessly compressing the image to make it smaller. Am I missing something?

View 1 Replies View Related

General :: Rsync With Skipping 0 Bytes Files Option?

Jun 10, 2011

For backup purposes, I have been trying to find out a solution for Rsync -avr sourcefolder targetfolder with Skipping 0 bytes files option.

However it seems that they are no solutions. Would someone have an idea, to skip to source files into the sourcefolder that have no content, ie. 0 bytes?

View 2 Replies View Related

General :: Calculate Usable Bytes On A Disk Partition?

Mar 10, 2010

How do you calculate the number of usable bytes on a disk partition? When I do an fdisk -l I get this:

Disk /dev/md0: 192.0 GB, 192069500928 bytes
2 heads, 4 sectors/track, 46891968 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

[code]...

View 7 Replies View Related

Software :: Use Grep Through A Binary File For Sequence Of Bytes?

Apr 7, 2009

Is it possible to use grep to search for a sequence of bytes? For instance say I was looking for the following byte sequence in a file:

64 03 40 30 ; add eax, fs:[eax+30h]

Is this possible to do using grep?

View 5 Replies View Related

Software :: What Is Maximum Number Of Bytes Is Possible To Send From Udp Socket?

Oct 1, 2010

I am created one udp socket. i want to send the data(bytes) to another PC.i need to send 614400 bytes of data. while sending it saying error like" message is too long ". so what is the maximum possible data can i send from a socket?

View 3 Replies View Related







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