Free Disk Space - how to tell how much there is.

I'm guessing it would be by way of an external app, but does anybody have any specific ideas?
Windows? Mac?

Hi,
I see John has already answered the question.
A couple of things to remember, depending upon your use case:
if you do try to use df file , you probably want to use df -k file to get the size in kb rather than blocks
if you are trying to get the size of a removable volume under OS/X, you need to test the particular volume has been mounted first otherwise LrFileUtils.volumeAttributes() will return the volume size for the root directory rather than for the specific volume. I've been caught out by that before. I normally use LrFileUtils.exists() to test an expected file is present before testing the volume attributes.
Matt

Similar Messages

  • Error message need to free disk space-how do I do that?

    I am getting an error message when I try to burn a dvd.  "Not enough free disk space for encoding the remaining assets"  How do I free the space?

    By deleting or temporarily removing items (non system / not DVD related) from your HD.
    Take a look here: http://support.apple.com/kb/HT1583
    Regards.

  • Time for Secure Empty Trash and Free Disk Space

    Hi Forum,
    Can anyone give me a guesstimate of how long secure empty trash would take or can take? I have 290 items and its been there for about an hour.
    Also, if I choose to free disk space, how long approximately would this take? Is it worth doing this? I have 40gb "free" now.
    Thanks.
    S

    it's not necessarily the number of files, but more the total size of all the files combined. But lets just say it dose take a while to do. you really only need to use secure empty trash on files of a sensitive nature. Such as financial information (credit card numbers, back information, social security numbers)
    Also by spending all that time writing to the hard drive, over and over. Witch is what secure empty trash dose. your reducing the life span of your hard drive. Like car tires your hard drive is only good for so many miles.
    I ones secure emptied trash on a GB worth of data. I remember it takings hours. I ones tried scrubbing a whole hard drive, after two days I stopped it because I didn't realize it was going to take so long. That being said it doesn't take too long to scrub a few files that are a few MB in size.

  • Too little free disk space (FileVault problem)

    I've recently been downloading and/or deleting fairly large files, and FileVault hasn't been offering to clean up my home directory on reboot. This means my computer has 276.9 MB of free disk space - not an ideal situation. I'd very much like to just turn off filevault at this point - I'm nothing but unhappy with its performance - but, of course, I don't have the free disk space to do so.
    Is there any way to force filevault to allow me to recover disk space?

    Do you have any files you and delete (trash) manually to make room, such as old iPod Software and iSight Updaters?
    Or, at least backup some files to a CD and DVD that you don't use that often?
    Do you have "Software Update" set to "Install and Keep Packages"?
    You can safely remove these (backup) these packages as well to make room.
    Do a search on your hard drive for any ".dmg" or ".pkg" files and see what turns up.

  • How many free disk space after install OS X lion (10.7) ?

    Hi,
    I would like to know that how many free disk space after install OS X lion (10.7) on MBA i5.
    Many Thanks,
    Eric

    I want to buy MBA i5, I would like to free disk space of MBA 13" i5, Could anyone tell it to me? Thanks
    As you're buing a new MacBook Air, it will come pre-installed with Lion.  The actual installation will be somewhat larger than a "clean" Lion install as it will come with iLife preinstalled.  Obviously, with an Air's limited storage space, you want to be sure that you have enough room for any applications and data that you'll want to keep on the SSD as well.  It is fairly easy to upgrade the SSD on an Air:
    http://eshop.macsales.com/shop/SSD/OWC/Aura_Pro_Express
    The amount of RAM you have installed is probably more important.  Fortunately, the newest 13" MacBook Airs all come with 4GB standard now.

  • How to find the amount of free disk space on my pc....... in java of course

    how to find the amount of free disk space on my pc

    http://onesearch.sun.com/search/onesearch/index.jsp?qt=free+disk+space&subCat=siteforumid%3Ajava31&site=dev&dftab=siteforumid%3Ajava31&chooseCat=javaall&col=developer-forums

  • Please for referral information, how can I get more disk space, or actually information and guidelines that can have enough free disk space. How, I have to delete documents or downloading to another drive.

    Please for referral information, how can I get more disk space, or actually information and guidelines that can have enough free disk space. How, I have to delete documents or downloading to another drive. (The problem is that Safari could not download the file "iTunesSetup.exe" because there is not enough free disk space.Try deleting documents or downloading to another drive) ... Perhaps this is the main problem why can not open iTunes and inscription is: the folder "iTunes" can not be found or created, and is required. The default location for this folder is inside the "Music" folder. - And after options ok, appears option: Choose iTunes Library with inscription iTunes needs a library to continue. You may choose an existing iTunes library or create a new one - but still following options Choose Library and the following options can not open iTunes ... Please for instructions on how to eliminate the problem or eror ...
    Mac is running OS X v10.6.8, Safari should be 5.1.10. Or  Mac OS X  /  Version  10.6.8  /  Build 10K549 / Serial Number W8****ATM  /  Processor 2.4 GHz Intel Core 2 Duo  /  Memory 4 GB 1067 MHz DDR3 or More Info:
    Hardware Overview:
      Model Name: MacBook Pro
      Model Identifier: MacBookPro7,1
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2,4 GHz
      Number Of Processors: 1
      Total Number Of Cores: 2
      L2 Cache: 3 MB
      Memory: 4 GB
      Bus Speed: 1,07 GHz
      Boot ROM Version: MBP71.0039.B0B
      SMC Version (system): 1.62f7
      Serial Number (system): W80394HFATM
      Hardware UUID: 94647506-C5D0-5D73-BC7F-FC680D238F43
      Sudden Motion Sensor:
      State: Enabled
    <Personsl Information Edited by Host>

    buy an external HD   1TB for $60
    NO notebook is a mass storage device, so dont try to turn it into one, it doesnt work that way.
    Unless youre using it every couple weeks, its static data and should be on an external HD
    In the case of a Macbook Air or Macbook Pro Retina with ‘limited’ storage on the SSD, this distinction becomes more important in that in an ever rapidly increasing file-size world, you keep vital large media files, pics, video, PDF collections, music off your SSD and archived on external storage, for sake of the necessary room for your system to have free space to operate, store future applications and general workspace.  You should never be put in the position of considering “deleting things” on your macbook SSD in order to ‘make space’.
    Professionals who create and import very large amounts of data have almost no change in the available space on their computers internal HD because they are constantly archiving data to arrays of external or networked HD.
    Or in the case of the consumer this means you keep folders for large imported or created data and you ritually offload and archive this data for safekeeping, not only to safeguard the data in case your macbook has a HD crash, or gets stolen, but importantly in keeping the ‘breathing room’ open for your computer to operate, expand, create files, add applications, for your APPS to create temp files, and for general operation.

  • How Can I Get the Amount of Free Disk Space Using space using windows 7 please share example using GetDiskSpace

    How Can I Get the Amount of Free Disk Space  using windows 7 please share example using GetDiskSpace i have already studied http://digital.ni.com/public.nsf/allkb/9958B8E473C4EF1786256BBC0053B64F

    Reading your question a bit more in detail, I doubt whether you are using Win32 API GetDiskFreeSpace function (for which my previous post is the solution) of Programmer's Toolbox GetDiskSpace function.
    With reference to the second one, it works even with disks larger than 2GB but you need to use the proper formatting code to display the returned value. I updated my example to show total free space in the debug output window and added a comparison with 3GB value using UInt64TypeCompareUInt from the Programmer's Toolbox.

  • I'm losing 2GB of free disk space every day. How can I prevent this?

    Every day this week I notice that I lose about 2GB of free disk space on my MacBook Pro. I'm now down to 20GB. When I started the week, I had over 30GB. I haven't installed any new programs of signficance. I store my large documents (photos, music, movies) on an external hard disk. While the MBP is not giving me problems, performance-wise, I'm concerned about the constant loss of free space.
    I checked the size of my sleepimage and swapfile in /private/var/vm and they appear to be normal. The sleepimage size remains constant at 4.29GB and there is only one swapfile that is using 67.1 megs.
    I don't seem retain disk space even after clearing the User and System caches, repairing permissions, and restarting my computer.
    I checked my recent Console messages and here is a short snippet:
    5/13/10 9:49:04 AM com.apple.launchd.peruser.514[285] (com.shirtpocket.backuponmount) Throttling respawn: Will start in 9 seconds
    5/13/10 9:49:13 AM osascript[3781] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
    /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
    5/13/10 9:49:13 AM com.shirtpocket.backuponmount[3781] osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.
    5/13/10 10:31:20 AM PreferenceSyncClient[4405] Preference plist was NOT a dictionary.
    I reviewed my Login Items and there doesn't seem to be anything out of the ordinary there that could be chewing up disk space.
    GrowlHelperApp
    AdobeResourceSynchronizer
    textexpanderd
    iTunesHelper
    Rogue Amoeba Schedule Helper
    VMware Fusion Helper
    Dropbox
    Lastly, I did a search in Finder using the following criteria and came up empty:
    Kind is Any
    File visibility = Visible or Invisible
    Last modified date is within last 5 days
    Size is greater than 10 MB

    Yes, I'm running TechTool Pro 5 and it definitely looks like the Data Recovery feature is causing the disk space to be lost. I see lots of recent dates under the Directory Backups list. Looking at the Help guide, I haven't yet found how to turn this feature off.

  • How to get free disk space in linux   Using JAVA program ?

    Hi,
    I am new to such adavance topics.. like JNI
    I have to check linux system free disk space , if space is more than 80% it should email to user.
    But how to check that Using Java program ??
    can u give me one sample example ? i will do it if u can do some for me
    thanks
    give me possible solutions...

    Using the Runtime class you can execute any linux command. Check it out.

  • Hi, In "disk space," how do I identify what "other" is?

    Hi,
    In "disk space," how do I identify what "other" is? 
    I want to free up disk space, and I've already backed up with an external hard drive, and moved files around.  I still have over 60gbs of "other" to tend to, and I'm not sure where to start.
    I appreciate any help!

    "Other" is everything that is not audio, movies, photos, apps, and backups. It includes your email messages and attachments, all your documents, downloads, and OS X itself.
    To learn how to reclaim disk space used by "other" read: OS X: Increase disk space

  • I need more disk space how do I do this?

    need more disk space how do I do this?

    First, empty the Trash if you haven't already done so. Then reboot. That will temporarily free up some space.
    Use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Proceed further only if the problem hasn't been solved.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    After installing ODS in the Applications folder, drag or copy — do not type — the following line into the Terminal window, then press return:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    I don't recommend that you make a habit of this. Don't delete anything while running ODS as root. When you're done with it, quit it and also quit Terminal.

  • I'm using a macbook pro, running snow leopard. Yesterday I got around to emptying my trash for the first time in quite awhile and was surprised by how much there seemed to be in there. Immediately after a question mark symbols appeared on all my hard disk

    I'm using a macbook pro, running snow leopard. Yesterday I got around to emptying my trash for the first time in quite awhile and was surprised by how much there seemed to be in there. Immediately after a question mark symbol appeared on all my hard disk folders. If I click on these question marks I get a message saying ' the item can't be found'.

    mpagan47 wrote: a question mark symbol appeared on all my hard disk folders.
    Not sure where these hard disk folders are located that you are referring to?  Finder, Finder tool bar, Finder side bar, Desktop, Dock? 
    More then likely they are  an alias that not longer point to the orginals,  thus the question mark.
    I would reboot.  Delete icons if an alias and just recreate by dragging from the source. Try right click (control) click to remove.

  • Free disk space in Finder vs Terminal df command

    i am in process of writing a shell script to backup our data.
    before starting the backup process, i am checking how much space is left on the disk:
    terminal> df -k /my_data_directory/
    Filesystem   1024-blocks      Used Available Capacity  Mounted on
    /dev/disk0s2   244781464 173055384  71470080    71%    /
    this states 71.47 GB free space on /
    however, the Finder reports 96.17 GB free space on Macintosh HD (which is also mounted on /).
    where does that difference come from? how can i "calculate" the real free disk space?

    tuscan wrote:
    do i get your answer right:
    this means the Finder is reporting an amount of free space one can never use?
    its number includes those bytes that are unused in used disk blocks?
    e.g. say a block is 8k an my specific disk, and i'm saving a file with 1k of text.
    the Finder would report 7k of these 8k as free space?
    while df takes the whole 8k block as "used"?
    As jsd2 points out, it is more complicated than that. I don't have local snapshots running on my machine but I still have a significant discrepancy, although not as large as yours.
    df is a fast tool and only looks at blocks. The Finder does more work and keeps track of file sizes and, apparently, the potential to delete them. But if you had a one-byte file, those other 4095 bytes wouldn't necessarily be wasted. You could write another 4095 bytes to that file without losing any disk space.

  • Where to see free disk space in Lion?

    So where has Apple moved the "free disk space: XXX GB" so we can easily find it? I miss seeing it when I click on the hard drive window. I do know we can see it if we get info about the drive, but is there any way else to do it?

    Are you talking about the status bar at the bottom of Finder windows?
    When In Finder go to the Menu bar click on View then Show Status Bar.
    That will put a bar on the bottom of your finder window and it tells you how many items in any folder you are viewing and remaining space on the Hard drive.

Maybe you are looking for