How to search by File Size--Freeing up Disk Space

I'm wondering if there is a way to search my hard drive for the largest files...I have a 120GB hard drive and no space left, and I want to find out what is taking the space...
Is there a way to view the largest files on my hard drive?
Is there a utility to help clean up files that are no longer being used or that are irrelevant?
Thanks!
-dave

Look at these links.
Where did my disk space go?
http://www.macfixitforums.com/showflat.php?Cat=&Board=Forum38&Number=770243
Freeing space on your Mac OS X startup disk
http://www.thexlab.com/faqs/freeingspace.html
Increase HD Free Space
http://macosx.com/forums/howto-faqs/275191-how-easily-increase-hd-free-space-lap top.html
 Cheers, Tom

Similar Messages

  • How to get the file size (in bytes) for all files in a directory?

    How to get the file size (in bytes) for all files in a directory?
    The following code does not work. isFile() does NOT recognize files as files but only as directories. Why?
    Furthermore the size is not retrieved correctly.
    How do I have to code it otherwise? Is there a way of not converting f-to-string-to-File again but iterate over all file objects instead?
    Thank you
    Peter
    java.io.File f = new java.io.File("D:/todo/");
    files = f.list();
    for (int i = 0; i < files.length; i++) {
    System.out.println("fn=" + files);
    if (new File(files[i]).isFile())
         System.out.println("file[" + i + "]=" + files[i] + " size=" + (new File(files[i])).length() ); }

    pstein wrote:
    ...The following code does not work. Work?! It does not even compile! Please consider posting code in the form of an SSCCE in future.
    Here is an SSCCE.
    import java.io.File;
    class ListFiles {
        public static void main(String[] args) {
            java.io.File f = new java.io.File("/media/disk");
            // provides only the file names, not the path/name!
            //String[] files = f.list();
            File[] files = f.listFiles();
            for (int i = 0; i < files.length; i++) {
                System.out.println("fn=" + files);
    if (files[i].isFile()) {
    System.out.println(
    "file[" +
    i +
    "]=" +
    files[i] +
    " size=" +
    (files[i]).length() );
    }Edit 1:
    Also, in future, when posting code, code snippets, HTML/XML or input/output, please use the code tags to retain the indentation and formatting.   To do that, select the code and click the CODE button seen on the Plain Text tab of the message posting form.  It took me longer to clean up that code and turn it into an SSCCE, than it took to +solve the problem.+
    Edited by: AndrewThompson64 on Jul 21, 2009 8:47 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to reduce jpg file size, not pixel dimensions?

    I am preparing images for the web and I really have 2 questions: one about gifs, and one about jpgs.
    My standard procedure is to reduce the image to the desired pixel dimensions at 600 dpi
    That gives me a crisp small image. then I either use it as is if the file size is low enough (I try for under 600 kb) or convert it to a gif with the save for web and devices tool.
    So here are my 2 questions (I will count this solved with either answer)
    1) When I convert to a gif I have the 4 boxes: one with original size, the other 3 with options but often the options are too low res for me How do I change my 3 options to start at a higher gif res?
    2) If I try to reduce the file size of the jpg in the image size box I set the resolution lower ( 400, 300), which lowers the pixel dimensions and the filesize, but I don't want to cahnge the pixel dimensions. And  If I reset the pixel dimensions back to the size I want them, even though it is a lower resolution the file size doesn't change. How to reduce jpg file size using only the resolution, not pixel dimensions?  PS I have tried messing with checking and unchecking the 3 little boxes( scale styles, constrain proportions, and resample) but nothing has worked.

    Gif is not a great filetype, especially if you want a crisp image. What are your pixel dimensions?
    For web, it makes no difference what the dpi is, only the final pixel dimensions so once you have that as you want, use 'Save for Web and Devices' and you can lower the quality - 100% being max and 0% being lowest. I wouldn't save anything below 55%. For a 600kb image, your dimensions must be rather big.

  • How to search to files based on the metadata of the category in CS

    Hi,
    Can any one tell me how to search the files in the content services based on the metadata of the Category,I know how to search based on the Category using
    public static void attributSearch(String searchString)
    throws FdkException, RemoteException, Exception
    // get the Manager instances
    SearchManager sem = s_WsCon.getSearchManager();
    CategoryManager cat = s_WsCon.getCategoryManager();
    CommonManager cm = s_WsCon.getCommonManager();
    FileManager fm = s_WsCon.getFileManager();
    Item folder = fm.resolvePath("/idc/workspaces/BoardMembersProject", null);
    AttributeRequest[] catAttr =
    WsUtility.newAttributeRequestArray("ProjectCategory");
    // create AttributeRequest to retrieve CATEGORIES attribute
    AttributeRequest[] catClassAttr = WsUtility.newAttributeRequestArray(
    Attributes.CATEGORIES, catAttr);
    // define search options
    NamedValue[] nv = WsUtility.newNamedValueArray(new Object[][] {            
    { Options.SEARCH_VERSION_HISTORY, Boolean.TRUE },
    { Options.RETURN_COUNT, new Integer(100)
    // get search expresiion
    SearchExpression seExp = new SearchExpression();
    // searchString ="ProjectCategory";
    Item[] item = cat.getRequiredCategories(folder.getId(),catClassAttr);
    seExp = new SearchExpression();
    NamedValue[] attributes = item[0].getRequestedAttributes();
    seExp.setOperator(FdkConstants.OPERATOR_HAS_CATEGORY);
    seExp.setRightOperand("["+item[0].getName()+"]");
    // search documents
    NamedValue[] result = sem.search(seExp, nv, null);
    // search result display
    for (int i = 0; i < result.length; i++)
    if (result.getName().equals(Options.SEARCH_RESULTS))
    Item[] resulItem = (Item[]) result[i].getValue();
    WsUtility.log("Kveni",resulItem);
    if (resulItem != null)
    for (int j = 0; j < resulItem.length; j++)
    WsUtility.log("File " +resulItem[j].getName());
    But how do one search Based on the attributes of the category??
    thanks
    kveni

    Download the PM accelerator kit appropriate to your environment, and check out the TestSearch2.java example.
    http://www.oracle.com/technology/products/cs/developer/contentservicesdev/contenservicesdevkit.html
    Essentially you need to lookup the internal names of your category attributes, as well as have the internal name of your category class.
    categoryClassName = ...; // e.g. AHC_XXX
    attribute1name = ....; // e.g. CUSTOM_MYBOOLATTR
    you then create a normal search expression such as
    String attribute1Operand = "[" + categoryClassName + FdkConstants.SEPARATOR + attribute1name + "]";
    SearchExpression expr1 = new SearchExpression();
    expr1.setOperator(FdkConstants.OPERATOR_EQUAL);
    expr1.setLeftOperand(attribute1Operand);
    expr1.setRightOperand(Boolean.TRUE);
    Matt.

  • How to change archivelog file size in oracle 11g

    Hello,
    In my oracle 11g database inside flash recovery area how to increase each files size , now it 41 Mb per file iits name is o1_mf_1_161_8mfpwtbj_.arc how to change it to
    the understandable name.
    Thanks and regards

    Hi,
    As you know archived log is create when online log is switch. Archived log size might be maximum equal to online redo log size.
    Because archived log size is copied from online redo log file, if you want change archived redo log size, then you must change online redo log size.
    But you must think, what is advantages and disadvantages of change of online redo log size, it depends direct task LGWR process.
    You can change archived redo log name with change LOG_ARCHIVE_FORMAT parameter.
    See : http://docs.oracle.com/cd/B19306_01/server.102/b14237/initparams103.htm
    Regards
    Mahir M. Quluzade

  • How to read music file size?

    I have the third generation iPad. I've sync'd (via iTunes of course) a CD album in Apple Lossless and another CD album in AIFF. Most other audio that have already been sync'd is in MP3 format.
    So how can I see the file size of each song in the iPad?

    Well that's how to see the file size in iTunes. But I'm concerned (suspicious actually) that there's some background modification or something after getting sync'd with the iPad.
    So I'm curious about how to see the file size of each song IN THE iPAD directly.
    Or not possible?

  • My mac says that it has 40 gb of movies on it but when i finder search for file size, and for file type it gives me no videos

    My mac says that it has 40 gb of movies on it but when i finder search for file size, and for file type it gives me no videos or movies. I have called apple 3 times and each time they do the same thing and then do something that takes awhile to finish so we hang up and then it never works.
    Please Help

    each time they do the same thing
    And what thing might that be?

  • How to search .java files by Search tool in NWDS or any other tool?

    Hi All,
    I can easily search .JSP files by NWDS's Search tool, but I have a hard time to search Java files by this tool.  Can anyone guide me how to search Java files which contain a specified string by using Search tool in NWDS? or any other tool?
    Thanls. Jin

    Hi Jin,
    You can search Custom Java files with NWDS Search tool for specified string. But not standard Java files.
    Suppose you have extend z_userR3 base on UserR3 and contains string some help then you can click on search in NWDS
    Then click on File it will open Search box with 4 tag
    1. File Search
    2. Help Search
    3. Java Search
    4. Plug-in Search
    Click on File Search tab and provide the text in Containing text input box and give java file name with wild characters like  *.java
    Select Workspace under Scope and hit search button. It will search string in your custom Java file. This method will not search string in Standard Java classes of SAP.
    If you want to search in standard SAP  java classes then you should know about what you are searching i.e. whether it is field, Method, Package, Constructor and Type  select proper radio button under Search For box then tryo to select proper radio button under Limit To if you want to search everywhere then select All Occurrences. You should select Workspace under Scope.
    Suppose nothing comes after selected Type then go for other option one by one Method, Field etc...
    Expert people will give you more information.
    I hope this will help you.
    Regards.
    eCommerce Developer

  • Is there a way to Move files to the iCloud thus freeing up disk space on my Mac? Or does iCloud only sync (replicate) files between my Mac and the cloud?

    Is there a way to Move files to the iCloud thus freeing up disk space on my Mac? Or does iCloud only sync (replicate) files between my Mac and the cloud? I want to free up disk space on my Mac and assumed that the icloud would be a good way to do this, but having 'moved' 70Gb of files to the iCloud drive (I've upgraded to 200Gb storage) my Mac is still nearly full and I've realised that it seems to just Sync files just like dropbox.

    So, the big question is did the Apple guys confirm that this is how the new iCloud drive should be working?  I'm guessing, from your response, that this is indeed the case.  Are they going to fix this anytime soon?  I thought that this was a new function of the iCloud drive in Yosemite.
    I just want an online storage facility to back up my photo & music collections.  I did look at Dropbox as they have a good deal going with their Dropbox Pro, however this is still just a sync service where the Master files reside on your local disk drive - although I have read that there may be a way to work around this.  Still not ideal.

  • 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.

  • Temp files eating up all disk space on SCSM 2012 R2 install

    Hello Everyone,
    Problem
    Under this path SCSM is creating a ton of temp files using up all disk space (C:\Windows\System32\config\systemprofile\AppData\Local\Microsoft\System Center Service Manager 2010)  All files are .bin and .hash files.  I just cleaned out 120 GBs
    of files which accumulated over the period of 30 days.   
    Does anyone know what could be causing this?  This was not a problem when we were on server 2008 R2.  When we migrated SCSM management server to server 2012 r2 it when problem started.
    Environment
    Management server (server 2012 R2)
    Data warehouse server (server 2008 R2)
    Data on remote SQL server.  SQL 2008 R2
    CU  5 was the last update

    Might be worth checking that the AutoRefresh/Cache policy is set to True via the SDK?
    https://msdn.microsoft.com/en-us/library/gg461136.aspx
    From PowerShell:
    Add-Type -Path "C:\Program Files\Microsoft System Center 2012 R2\Service Manager\SDK Binaries\Microsoft.EnterpriseManagement.Core.dll"
    $NS = "Microsoft.EnterpriseManagement"
    $EMGType = "$NS.EnterpriseManagementGroup"
    $EMG = new-object $EMGType localhost
    $EMG.AutoRefreshCache
    Output True or False
    $EMG.CacheMode
    Configuration
    This is the output from mine:
    Good luck!

  • I delete files but my available disk space does not increase

    I delete files but my available disk space does not increase.  What to do?

    Try reindexing the hard drive:
    http://support.apple.com/kb/ht2409

  • Application cannot start because it cannot create needed files. Not enough disk space

    Hi,
        I have adobe director 11.5 and Macromedia MX 2004 versions installed in my machine. The projector created from the MX 2004 version used to work properly even after the 11.5 upgrade. I recently got the error  "Application cannot start because it cannot create needed files. Not enough disk space", whenever I run the projector. Has anyone come across this issue before?
    Thanks,
    Nandhini

    Where is the projector located?  Do you have read/write permissions in that folder?  This is a problem I have seen if I am running a projector on a network share where the projector will not be allowed to save files (temp files etc) in that folder.  Even if you don;t think it needs to save these files, it will come up with this error.  Try copying the file to your local machine and see if it works better.  If you are already running it on your local machine, and in a "safe" location within your user folder, then this is not the answer you are looking for and something else is going wrong.

  • How to search a file from a hierarchy and delete it

    hi ,
    i have to delete a file from a directory structure .i dno't know where is file stored in my folder hierarchy .i have to search that file and delete that file .
    for example ;
    i have a folder name A , which have folder B ,C ,D ,E . B folder have other 2 folder or 3 file (anything) , same C and D And E can have file or folder .
    means we dnot know that A folder have how many files or folder in it . in that we have to search a specific file and delete it .

    hi vineet ,
    this is only for u .
    here is my code
    class serDir
         public static void main(String[] args)
              String dirname="/java";
              File f1=new File(dirname);
              if(f1.isDirectory()){
                   System.out.println("directory name "+dirname);
                   String s[]=f1.list();
              for(int i=0;i<s.lenght();i++){
              File f=new(dirname +"/"+ s);
              if(f.isDirectory()){
    System.out.println("directory name "+s[i]);
                   } else {
                   System.out.println("file name "+s[i]);
              } else {
              System.out.println(dirname+"is not directory" );
    but not working properly , now plz tell me what changes i should make to full fill my requirement . question is still same ....................waiting

  • How do I show file size in the Finder icon view for images?

    How can I add the file size to the icon view "File Info" for images?
    I know how to get it to display the image size under View Options. In this mode it shows pixel dimensions for some images (not for svg or pdfs tho) and file size for some non-images (rar, zip, but not txt or plain text files).
    Is there some plist I can modify?

    Just found the answer in a post with this subject: 
    How Do I Change the Mailbox Font Size in the Sidebar?

Maybe you are looking for

  • Need help with Color Profiles between Photoshop and iPhoto

    Hey guys, I'm a photographer and have always used Photoshop in comination with iPhoto. I am having great difficulty lately with color profiles randomly changing within albums of pictures. I need all of my images to be in sRGB, but some somehow end up

  • Why don't my tags show up when re-saving a document that I previously tagged?

    I love the idea of tags. I use them religiously in Lightroom to organize and recall my photos. The one thing that makes tags ineffective though is the amount of effort it takes to enter them. But being a true believer of the value I do it. That being

  • My iphone keeps going into a huge text or zoom mode, how do I get it back to normal?

    I have an iPhone 5S and just upgraded to Yosemite, apparently a big mistake after reading a lot of support items. My phone keeps going into a zoom or huge text mode and I cannot get it back to normal.  I also have an iPad that I send and receive mess

  • F.19 : GR/IR Account

    Hi, I run F.19 for a GR/IR Account (for one PO) and the system generate Adjustment postings, then I go to Tcode SM35 and I create FI document, in the second time I run F.19 again for the same PO and the sytem generate the same FI document as the fisr

  • Saving an iBot in OBI EE

    Hi All, Your suggestions are highly appreciated. I was trying to save the iBot, then i am i am getting the error "Authentication Failed" Below are the steps that i have followed: 1). Taken the backup of the existing Credentialstore.XML & Instanceconf