Files by size

Is there any software that will rank all the files on my computer (G4) in order of size? Opening my Macintosh HD and clicking on 'Size' doesn't do it for some reason.
Can I also ask: I have a 28.9MB file (Document) labelled: (null) Anyone know what that is and whether I have to keep it? Double clicking it just says "There is no default application specified to open the document "(null)".
Thanks.

Bernard Stay wrote:
Is there any software that will rank all the files on my computer (G4) in order of size? Opening my Macintosh HD and clicking on 'Size' doesn't do it for some reason.
Disk Inventory X will give you a graphical representation, though I'm not sure that's quite what you are looking for.
Can I also ask: I have a 28.9MB file (Document) labelled: (null) Anyone know what that is and whether I have to keep it? Double clicking it just says "There is no default application specified to open the document "(null)".
Do not delete it. I forget what it is for but I know it is for something related to the system. Where is it? Better check it is the one I'm thinking of...
- cfr

Similar Messages

  • How is it posible to get the File name, size and type from a File out the H

    How is it posible to get the File name, size and type from a File out the HttpServletRequest. I want to upload a File from a client and save it on a server with the client name. I want to conrole before saving the name, type and size of the file.How is it posible to get the File name, size and type from a File out the HttpServletRequest.
    form JSP
    <form name="form" method="post" action="procesuploading.jsp" ENCTYPE="multipart/form-data">
    File: <input type="file" name="filename"/
    Path: <input type="text" readonly="" name="path" value="c:"/
    Saveas: <input type="text" name="saveas"/>
    <input name="submit" type="submit" value="Upload" />
    </form>
    proces JSP
    <%@ page language="java" %>
    <%@ page import="java.util.*" %>
    <%@ page import="FileUploadBean" %>
    <jsp:useBean id="TheBean" scope="page" class="FileUploadBean" />
    <%
    TheBean.doUpload(request);
    %>
    BEAN
    import java.io.*;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletInputStream;
    public class FileUploadBean {
    public void doUpload(HttpServletRequest request) throws IOException
              String melding = "";
              String filename = request.getParameter("saveas");
              String path = request.getParameter("path");
              PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter("test.java")));
              ServletInputStream in = request.getInputStream();
              int i = in.read();
              System.out.println("filename:"+filename);
              System.out.println("path:"+path);
              while (i != -1)
                   pw.print((char) i);
                   i = in.read();
              pw.close();
    }

    Thanks it works great.
    Here an excample from my code
    import org.apache.commons.fileupload.*;
    public class FileUploadBean extends Object implements java.io.Serializable{
    String foutmelding = "geen";
    String path;
    String filename;
    public boolean doUpload(HttpServletRequest request) throws IOException
         try
         // Create a new file upload handler
         FileUpload upload = new FileUpload();
         // Set upload parameters
         upload.setSizeMax(100000);
         upload.setSizeThreshold(100000000);
         upload.setRepositoryPath("/");
         // Parse the request
         List items = upload.parseRequest(request);
         // Process the uploaded fields
         Iterator iter = items.iterator();
         while (iter.hasNext())
         FileItem item = (FileItem) iter.next();
              if (item.isFormField())
                   String stringitem = item.getString();
         else
              String filename = "";
                   int temp = item.getName().lastIndexOf("\\");
                   filename = item.getName().substring(temp,item.getName().length());
                   File bestand = new File(path+filename);
                   if(item.getSize() > SizeMax && SizeMax != -1){foutmelding = "bestand is te groot.";return false;}
                   if(bestand.exists()){foutmelding ="bestand bestaat al";return false;}
                   FileOutputStream fOut = new FileOutputStream(bestand);     
                   BufferedOutputStream bOut = new BufferedOutputStream(fOut);
                   int bytesRead =0;
                   byte[] data = item.get();
                   bOut.write(data, 0 , data.length);     
                   bOut.close();
         catch(Exception e)
              System.out.println("er is een foutontstaan bij het opslaan de een bestand "+e);
              foutmelding = "Bestand opsturen is fout gegaan";
         return true;
         }

  • Need help with Acrobat 6.0 pro; size of print is stuck @ 4.6"- can't change file print size

    - can't change file print size at all. printing one size dont know how to change it  (looking in print preview while in acrobat 6.0 pro..
      MAC OS  10.5.8

    ...."page set up"  from the apple menu- double duhhhh !

  • Outofmemory while creating a new object of file with size more than 100 MB

    I have created an application which generates a report by getting the data from our archived files (.zip file).By the time, the application is reaching a file with size more than 100 mb, it is running out fo memory while creating the object of that particular file. Can some one help me by tellin if there id way to resolve this issue?
    Thanks in advance

    If you're getting OutOfMemoryError, the simplest thing to try is to give the VM more memory at startup. For Sun's VM, I believe the default is 64 MB. You can increase this by using the -X args that control the heap size. For example: java -Xms128m -Xmx256m ... etc. ... This says start with 128 MB of heap, and allow it to grow up to 256 MB.
    One thing to consider, though, is do you need that much stuff in memory at once? A more intelligent approach might be to unpack the archive to the file system, and then read a file at a time or a line at a time or a whatever at a time is appropriate for the processing you need to do.

  • Files icons size is 512 x 512 with maximum grid space???

    After updating from Snow Leopard to Lion all my files in the folders is rearranged and files icons size is 512 x 512 with maximum grid space. I adjusting each folder icon size back to normal but after reopening that folder all files is out of order again.  Is anybody experience same issue?
    Also I have brand new battery in my 17" MBP and OS Lion eat battery like a cake.

    I believe this has been brought up many times, aand no solution has been found.
    More Like This According to ASC
    File Vault Resize
    Re: Icon view in Finder - larger maximum icon size?
    dock applications smaller icons
    Re: change size of icons on Dock grid view
    Re: anyone know how to get lion to calculate all hd sizes in grid view?

  • Get Total DB size , Total DB free space , Total Data & Log File Sizes and Total Data & Log File free Sizes from a list of server

    how to get SQL server Total DB size , Total DB free space , Total Data  & Log File Sizes and Total Data  & Log File free Sizes from a list of server 

    Hi Shivanq,
    To get a list of databases, their sizes and the space available in each on the local SQL instance.
    dir SQLSERVER:\SQL\localhost\default\databases | Select Name, Size, SpaceAvailable | ft -auto
    This article is also helpful for you to get DB and Log File size information:
    Checking Database Space With PowerShell
    I hope this helps.

  • Out of memory error when Applet transferring a file of size 600 MB

    Hi ,
    I have an Applet which transfer files from client machine to server using streams.
    I have a servlet which reads data sent from Applet.
    This is working fine when i Transfer files of size 10 MB
    when I chose a file of 600 MB the following error is thrown at Applet side after some time.
    java.lang.OutOfMemoryError: Java heap space
         at java.util.Arrays.copyOf(Unknown Source)
         at java.io.ByteArrayOutputStream.write(Unknown Source)
         at sun.net.www.http.PosterOutputStream.write(Unknown Source)
         at java.io.DataOutputStream.write(Unknown Source)
         at Apple.FileUploadApplet.actionPerformed(FileUploadApplet.java:53)Here is my Applet Code
    if(ae.getSource() == jbutton)
         JFileChooser jfc=new JFileChooser();
         jfc.showOpenDialog(null);
    File f=jfc.getSelectedFile();
    try
    FileInputStream in = new FileInputStream(f);
    byte[] buf=new byte[1024];
    int bytesread = 0;
    String toservlet = "http://9.122.18.115:8080/FileTransfer/FileUpload?"
                                  + URLEncoder.encode("name") + "="
                                  + URLEncoder.encode(f.getName());
    URL servleturl = new URL(toservlet);
    URLConnection servletconnection = servleturl.openConnection();
    //servletconnection.setRequestMethod("GET");
    servletconnection.setRequestProperty("Content-type",
                "application/octet-stream");
    servletconnection.setDoInput(true);
    servletconnection.setDoOutput(true);
    servletconnection.setUseCaches(false);
    servletconnection.setDefaultUseCaches(false);
    DataOutputStream out = new DataOutputStream(servletconnection.getOutputStream ());
    while( (bytesread = in.read( buf )) > -1 )
    out.write( buf, 0, bytesread );
    // out.flush(); // tried this to flush the data but didn't work
    System.out.println("writing data");
    out.flush();
    out.close();
    in.close();
    DataInputStream inputFromClient = new DataInputStream(servletconnection.getInputStream() );
    //get what you want from servlet
    inputFromClient.close();
    catch(Exception e)
    e.printStackTrace();
    }My Servlet Code
    public void doPost(HttpServletRequest req,HttpServletResponse res)
    ServletContext sc = this.getServletContext();
    try
    String path = "C:\\Downloads\\";
    String  fileName=req.getParameter("name");
      System.out.println("name="+fileName);
    File yourFile = new File(path+fileName);
      System.out.println("name="+yourFile);
    FileOutputStream toFile = new FileOutputStream( yourFile );
    DataInputStream fromClient = new DataInputStream( req.getInputStream() );
    byte[] buff = new byte[1024];
    int cnt = 0;
    int k=0;
    long st,et;
    st=System.currentTimeMillis();
    while( (cnt = fromClient.read( buff )) > -1 ) {
    toFile.write( buff, 0, cnt );
    //System.out.println("writing data=="+ k++);
    et=System.currentTimeMillis();
    toFile.flush();
    toFile.close();
    fromClient.close();
    int tt=(int) ((et-st)/1000);
    System.out.println("total time for "+fileName+" Download ="+tt+" secs");
    System.out.println("total time for "+fileName+" Download ="+(tt/60)+" mins");
    catch(Exception e)
    e.printStackTrace();
    }Please Help me out...

    yeah its working fine. Thank you very much..
    But it would be better if we provide the chunklength rather than using a zero to upload the file fastly.

  • Couldn't Upload file with size more than 2K

    Hi,
    i am developing an webapplication where in i have to upload a file.we are using hibernate for data storing and retrieval.problem comes when i am uploading a file with size more than 2k bytes.if the file size lesser than 2k it works fine.i found that its a bug with thin jdbc driver version 9.but i am using 10g jdbc driver.still problem exists. i am not suppose to use oci drivers.
    working on
    OS: windows Xp.
    Apps :weblogic8.1
    DB: oracle 9i
    if anyone has solution plz mailme at [email protected]

    I'm not sure where the issue would be. Are you saying that you are using a 9i driver to access a 10g database? If so, download the newer driver and add it to your WEB-INF/lib directory. Remove the existing driver.
    If, on the other hand, you are using a 10g driver for a 9i database, I would not expect problems. However, you could always download the older driver and try it out.
    Or am I missing something?
    - Saish

  • Solaris 10 - File System Size / Layout

    Hello, I�m very new to Solaris OS � UNIX world and have a question around the file system.
    I have SUN System with a single 36GB of Hard Disk, and eventually I want to install Oracle 10g on it as a development server for myself.
    My question is around the file system size and layout
    I have installed Solaris 10 and accepted the default file system, which is as below:
    Filesystem size used avail capacity Mounted on
    /dev/dsk/c1t1d0s0 5.0G 3.4G 1.6G 69% /
    /devices 0K 0K 0K 0% /devices
    ctfs 0K 0K 0K 0% /system/contract
    proc 0K 0K 0K 0% /proc
    mnttab 0K 0K 0K 0% /etc/mnttab
    swap 1.5G 1.1M 1.5G 1% /etc/svc/volatile
    objfs 0K 0K 0K 0% /system/object
    /platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1 5.0G 3.4G 1.6G 69% /platform/sun4u-us3/lib/libc_psr.so.1
    /platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1 5.0G 3.4G 1.6G 69% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
    fd 0K 0K 0K 0% /dev/fd
    swap 1.5G 136K 1.5G 1% /tmp
    swap 1.5G 88K 1.5G 1% /var/run
    /dev/dsk/c1t1d0s7 28G 28M 28G 1% /export/home
    What I don�t understand is when I eventually install Oracle, where will the directory go for it?
    The /home/export folder is aprrox: 28GB which is now taking up most of the space, and I understand that this is for users, therefore my question is:
    1.Should I have allocated a more space to the root file system for oracle during the OS install?
    2. If so what should I do? (its not a production system and I know it will have to go somewhere on the single drive, I�m happy to rebuild as I�m still learning the OS).
    Any suggestions?
    Rgds
    D

    Thanks, I do have this but needed info on the file system layout... but I have the info now...
    If you select the auto file system layout on Solaris 10 then it gives the remaining space to the home/export . I have since re-installed, customised the file system layout and have space for the database.
    D

  • Setting the file system size for the emulator

    Hi,
    I am trying to set the file system size of the emulator so I can test what happens when the system is full and I try to write to the file system. I am using WTK 2.5.1 and I went into preferences -> storage and set Storage size to 10KB. But when I run the emulator and check the available size of the root directories using:
    try {
             Enumeration roots = FileSystemRegistry.listRoots();
             while (roots.hasMoreElements()) {
                String dir = (String) roots.nextElement();
                FileConnection fc = (FileConnection) Connector.open( "file:///" + dir );
                System.out.println( "Available Size on " + dir + " : "+ fc.availableSize());
                fc.close();
          } catch ( IOException ex ) {
             ex.printStackTrace();
    }I get the remaining size of my pc's hard drive, not what is remaining from the 10KB I set.
    Can you tell me the correct way to do this? I don't want to fill up my pc's hard drive in order to test this!!

    Has anyone got an answer to this?

  • Expand file system size

    Dears
    Can we expand mounted file system+ size on solris 10 ???, knowing that I'm not using SVM
    Thanks

    And you're asking this question in the Solaris 9 forum?
    The answer is yes in both cases, though. 'growfs' will expand a mounted UFS filesystem.
    It doesn't help you create the space necessary to expand it, though. That can be very easy or very difficult depending on how your storage is allocated.
    Darren

  • Regarding increasing root file system size

    Hi folks,
    I need urgent help regarding increasing the rool file system size from 40gb to 72 gb by decreasing swap from 64gb to 32gb with out any loss.
    please find the current partiton config:
    Part Tag Flag Cylinders Size Blocks
    0 root wm 6595 - 10787 40.69GB (4193/0/0) 85335936
    1 swap wm 2 - 6594 64.00GB (6595/0/0) 134221440
    2 backup wm 0 - 14086 136.71GB (14087/0/0) 286698624
    3 unassigned wm 0 0 (0/0/0) 0
    4 unassigned wm 0 0 (0/0/0) 0
    5 unassigned wm 10788 - 14050 32.01GB (3298/0/0) 67120896
    6 unassigned wm 0 0 (0/0/0) 0
    7 unassigned wm 0 0 (0/0/0) 0
    i need to change this like below.
    Part Tag Flag Cylinders Size Blocks
    0 root wm 3299 - 10787 72.69GB (4193/0/0) 152446656
    1 swap wm 2 - 3298 32.00GB (3298/0/0) 67110720
    2 backup wm 0 - 14086 136.71GB (14087/0/0) 286698624
    3 unassigned wm 0 0 (0/0/0) 0
    4 unassigned wm 0 0 (0/0/0) 0
    5 unassigned wm 10788 - 14086 32.01GB (3298/0/0) 67120896
    6 unassigned wm 0 0 (0/0/0) 0
    7 unassigned wm 0 0 (0/0/0) 0
    kin dlyhelp me on this....
    Thanks in advance,
    Prathap

    Sorry, can't be done.
    If it was any other filesystem than root, you could do by using SVM.
    But root filesystems can't be stripes or concats. Only simple mirrors.
    So SVM isnt going to work.
    If the spare space was after the partiton. You might have been able to do it by the "dirty" method of manually expanding the partition and using
    growfs to expand it. You would have had to do it by netbooting or cd booting since growfs can't be used on the current root.
    But in any case, you can't do that either since the space if before the partition not after it.
    So, reinstalling is your only option..
    Well, If you have a spare disk, you might be able to copy the filesystem over to a larger partition on the other disk, growfs it and boot off that instead.
    You'd want to try it on a test systen first...

  • Cs6 opening existing file defaults to last new size created. How do I keep my file properties / size

    cs6 opening existing file defaults to last new size created. How do I keep my file properties / size the same?

    Is that all your HTML code contains?
    Where are the closing </body> and </html> tags in the end?
    Try adding this to the last lines of the file:
    </body>
    </html>
    -ST

  • Partition with file type & size.

    Hello All,
    I need to install SuSE Linux Enterprise Sever 8 prior to Oracle 10g.
    I have 136GB of Hard Drive.
    My RAM is 3GB.
    Could anyone suggest me idol file system/partition with file type & size?
    I can create partition on my SLES installation.

    We are using raid5.
    But I can see only one hard drive.
    Do you think its ok to have only three partitions?
    what about /? (root)
    what file type I should used? ext 3, ext 2 or Resiser?

  • File Adpater: Size of your processed messages

    Hi,
    i opened yesterday a thread aboud performance of file adapter, but i didn't get a satisfieing answer. So please give me following information:
    What was the biggest size of message which was processed by your file adapter?
    Every answer is welcome, even if the size seems to be small.
    Regards,
    Udo

    Udo,
    With content conversion , we have processed a file of size 64MB as one single message, it takes about 6 to 10 mins for our entire processing to complete(to go thru as an idoc to sap in our case).
    well, it will get worse , if you have a ccBPM in between.we had it initially(for validating & controlling the flow) and it took close to 2 hrs to go thru. It was not guaranteed as well, J2EE will autorestart(heap dump!!) and the processing will terminate at times. we had followed up with sap, tried tuning heap size & using large queues, but did not resolve the issue , removed ccBPM and it is ok now.
    so Udo , just the file adapter processing a LARGE message will not resolve ur issue, rather i beleive it may add to ur headache, once file adpater delivers the message to the IS.
    Wherever possible we had limited the message size using recordsets per message, when there was no choice, we had to take it in as one single message. strictly my personal experience here , i may be wrong, if so feel free to point it out, ll learn.
    Regards
    Saravana

  • Increase File attachement size/number of attachments

    Hello all,
    Is there any way to raise the MAXIMUM file attachment size limit in Service Manager? We have a need to have more than 10 attachments to a request and have those attachments be more than 10mbs each (the max in the GUI). Has anyone figured out how to
    increase this maximum in Service Manager 2012? 

    The restrictions for these settings are simply hard coded into the GUI. Why, I do not know. However, it is possible to over-ride, please see this blog from Marcel Zehner:
    http://marcelzehner.ch/2013/07/06/increase-the-number-of-max-incident-attachments-to-more-than-10/
    Rob Ford scsmnz.net
    Cireson www.cireson.com
    For a free SCSM 2012 Notify Analyst app click
    here

Maybe you are looking for

  • Problem with inserting into table that has autogenerated primary key

    hi i am working on EJB3. i am trying to insert object into table.Primary key of table will be generated automatically.I tried following statement for insertion, em.persistent(customerObj); but it throw following exception, javax.ejb.EJBException: jav

  • Sequence periodoic Jobs

    Hello All, I have 3 jobs thats needs to run one after the other. Job A, Job B and job C. When Job A is complete Job B needs to trigger and then when job B is done Job C. I have set the Jobs in SM36, First i have set Job A witha time and date and sche

  • Change icon sizes on ipad

    How can I change the size and spacing of desktop icons on the iPad Retina Display?

  • Not able to enqeue ( AQ issue)

    i am new to AQ, while doing enqeue using following block getting error ORA-06550. where i am going wrong? DECLARE enqueue_options dbms_aq.enqueue_options_t; message_properties dbms_aq.message_properties_t; message source_vivek_obj; message_handle RAW

  • Macbook Pro 13" won't start

    I just tried replacing my HD with an SSD.  The SSD didn't work properly.  I had cloned it, but when I started up the computer it would work for a few minutes then the screen would go blank and it would be unresponsive.  Even when booting while holdin