Top "Filesize" questions

Use this tag to mark questions related to file sizes on any file system.

How to get image size (bytes) using PIL

I found out how to use PIL to get the image dimensions, but not the file size in bytes. I …

python python-imaging-library tornado filesize
Batch resize images into new folder using ImageMagick

I have a folder of images over 4MB - let's call this folder dsc_big/. I'd like to use convert …

image bash imagemagick filesize
Git: show total file size difference between two commits?

Is it possible to show the total file size difference between two commits? Something like: $ git file-size-diff 7f3219 bad418 # I …

git filesize git-diff
human readable file size

function humanFileSize($size) { if ($size >= 1073741824) { $fileSize = round($size / 1024 / 1024 / 1024,1) . 'GB'; } elseif ($size >= 1048576) { $fileSize = round($size / 1024 / 1024,1) . 'MB'; } elseif($size >= 1024) { $…

php filesize
Why are FAT32 disks limited to 4GB files?

I'm not looking for a workaround; I'd like an explanation. Most of the links I found through Google just tell …

filesystems fat32 filesize
Finding file size and last modified of SFTP oldest file using Java

I'm using JSch to get files from an SFTP server, but I'm trying to figure out a way to only …

java sftp filesize last-modified jsch
How do you get file size by fd?

I know I can get file size of FILE * by fseek, but what I have is just a INT fd. …

c filesize
how to seek to the end of file to determine the file size?

I'm trying to get file size in c programming using seek. I can't use fseek, stat.size nor ftell, there's …

c filesize seek
After writing to a file, why does os.path.getsize still return the previous size?

I am trying to split up a large xml file into smaller chunks. I write to the output file and …

python filesize
Ruby on rails log file size too large

I stumbled to learn that my rails3.1 log file is super large, around 21mb. Is this, in terms of size …

ruby-on-rails ruby-on-rails-3.1 filesize logging