Total number of items in a folder

How do I find out the total number of items there are in a folder (including files within sub-folders)? Get info will show me the total size, but I'm sure there's a way of doing this but I can't remember how.
Thanks - Neil
G5 iMac 17 Rev. A/Superdrive/BT/768MB   Mac OS X (10.3.9)   1GB iPod Shuffle/20GB iPod with Colour Display

Use the options in this thread.
(11920)

Similar Messages

  • Use Windows PowerShell to count and list total number of items in Folders E-Mail in Office Outlook?

    I have the need to generate a list of all outlook folders and the total number of items listed beside each folder name. I thought I could simply modify the script from " http://blogs.technet.com/b/heyscriptingguy/archive/2009/01/26/how-do-i-use-windows-powershell-to-work-with-junk-e-mail-in-office-outlook.aspx
    " regarding the total number of items in the junk folder but no luck.
    I thought I could just simply duplicate line 6 of the aforementioned script
    "$folder = $namespace.getDefaultFolder($olFolders::olFolderJunk) " and change the folder name but getting the "Method invocation failed because [Microsoft.Office.Interop.Outlook.OlDefaultFolders] does not contain a method
    named 'olFolder'.
    At line:7 char:1
    + $folder = $namespace.getCurrentFolder($olFolders::olFolder("Design Engineering S ...
    I've found a way to export a list of all these folders using exportoutlookfolders.vbs to a txt file but doesn't include total number of items.
    Looking for any pointers on how to make this work. Don't expect anyone to write it for me but I am still learning PS. Would be great to find a way to import all of these folder and subfolder names into the script. Will be appreciative of any advice though.
    There's an enormous amount of Outlook folders.
    Outlook 2013
    Windows 8
    Thanks,
    Barry

    Since I am not and administrator, but an end user, I do not have access to the Get-Mailxxxx commandlets to make this really easy and had to do this long hand.
      The following will pull folder.name, folder.items.count, and sum the total size of each folder's items for all folders and their subs. 
    Just one warning, the summation can take some time with a large PST file since it needs to read every email in the PST. 
    There is also some minor formatting added to make the results a little more readable.
    $o
    = new-object
    -comobject outlook.application 
    $n
    = $o.GetNamespace("MAPI") 
    $f
    = $n.GetDefaultFolder(6).Parent 
    $i
    = 0
    $folder
    = $f
    # Create a function that can be used and then re used to find your folders
    Function
    Get-Folders()
    {Param($folder)
     foreach($folder
    in $folder.Folders)   
    {$Size =
    0
    $Itemcount
    = 0
    $foldername
    = $folder.name
    #Pull the number of items in the folder
    $folderItemCount
    = $folder.items.count
    #Sum the item (email) sizes up to give the total size of the folder
    foreach ($item
    in $folder.Items)
    {$Itemcount
    = $Itemcount
    + 1
    $Size =
    $Size +
    $item.size
    Write-Progress -Activity ("Toting size of "
    + $foldername
    + " folder.")
    -Status ("Totaling size of "
    + $Itemcount
    + " of "
    + $folderItemCount
    + " emails.")
    -PercentComplete ($itemcount/$folderItemCount*100)
    # just a little formating of the folder name for ease of display
    While($foldername.length
    -le 19){$foldername
    = $foldername
    + " "}
    #Write the results to the window
    Write-Host ("-folder "
    + $foldername
    + "  
    -itemcount " +
    "{0,7:N0}" -f
    $folderItemCount +
    "   -size " +
    "{0,8:N0}" -f ($size/1024)
    + " KB")
    #If the folder has a sub folder then loop threw the Get-Folders function.
    #This two lines of code is what allows you to find all sub folders, and
    #sub sub folders, and sub sub sub for as many times as is needed.
    If($folder.folders.count
    -gt 0)
    {Get-Folders($folder)}
    get-folders($folder)

  • Does Anyone Know How to Display Number of Items in a Folder?

    After "upgrading" to Lion, none of my folder display the number of items in the folder --a nice bit of information that was available in earlier versions of the operating system.  Is there an automatic way to see that information? [I imagine there are other really inconvenient ways, but is there a nice CONVENIENT setting I haven't figured out?]  THANKS.

    From your View menu in Finder choose "Show status bar"
    EDIT: Also there is QuickLook which is no longer on the toolbar of the Finder window but you can choose from "Customize Toolbar".

  • Total number of messages in "messages" folder

    Hi Everybody,
    Pleasse heeelp I just want to see how many messages I have in my messages folder. Does anybody knows how? I've tried the search buton but I couldn't find a related topic. Thanks

    Ah, that is a clearer question, I think.
    Go to Options > Status.
    Press the Menu key and click on Database sizes.
    Scroll to your Messages entry for email, and it will list the size as something like 2314/1894k
    The first number is the number of messages
    You can see the same SMS, etc.
    Is that what you need?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • To find total number of files inside folder

    Hai,
       In knowledge management is there any option to find total number of files inside folder...
        I also want to see the recently uploaded and modified documents in a seperate iview...
        Iam using NW2004s SP8..
        Very urgent..
        Waiting for a positive reply..
        Thanks&regards,
         Kiruthika.S

    Hi Kiruthika,
    1. You only need the configarchive if you don't want create all the KM configuration objects mentioned in the guide manually. So, just create the objects mentioned there and you don't need the configarchive
    Also, the scenario works also on 2004s.
    2. Please check this thread on how to show the total number of files inside a folder:
    https://forums.sdn.sap.com/thread.jspa?threadID=19610
    3. It would be nice if you would consider rewarding the time people like Saravanan spend to investigate and answer your question by assigning points via the colored stars.
    Best regards,
    Robert

  • How can I view the number of items I have in a folder on Mac 10.9.2 (Mavericks)?

    I have only been using Mac OS X 10.9.2 (Mavericks) for a little while so I'm having to deal with many inconveniences that I didn't have to face with Mac OS X 10.6.3 (Snow Leopard). It's frustrating that 10.9.2 (Mavericks) doesn't let me tap twice on the trackpad in order move or drag something, but at least I figured out how to do this in a different way. One part that I cannot figure out is how to view the number of files in each folder. With Snow Leopard, I was able to view the number of files on that folder automatically by looking at the bottom of the folder (*See the example on the photo). On the bottom of that folder, you will see the number of items, which it 10. Every time I add new files (or folders within that folder), it will update the number of items to the appropriate number. This is especially useful to me if I'm going to have many items within a folder and when I need to make sure that the number I have is exact. For example, sometimes I have to save files in a precise number and order. If I miss saving a file with a specific number, and I don't catch that the number of items is off as early as possible, I may have to waste time looking through files to try to figure out what is missing. For this reason, I have to find a convenient way to view the number of items in each folder with Mac OS 10.9.2 (Mavericks) or else using it will be a hassle. 
    Now that I'm using Mac OS X 10.9.2 (Mavericks), I don't see any information on the folder that tells me how many items are in it (*See photo below). I keep looking to see if it's located somewhere else on the folder or if I can change the folder preferences to make it become visible. I also clicked on the folder and on "Get Info" (which would be inconvenient if I had to do this constantly). This showed me the number of items in that folder but I can't always keep checking like this because it's time-consuming and distractive.
    I need to find a way to make the number of items appear on the folder itself, while it is open.
    Do you know a convenient way to view the number of items in a folder?
    Is there some way I can change the preferences so that the number becomes visible on the folder itself?

    Open the Finder's View menu and choose 'Show Status Bar'.
    (111921)

  • "number of items in all folders" setting keeps changing

    Hello
    I have the problem, that a customer wants to see the number of mails in an outlook folder (exchange). When I set the option "number of items in all folders" it works - but only as long, as Outlook is running... 
    As soon as I close Outlook, it changes back to the number of unread items...
    How can i permanently set this option to "number of items in all folders"?
    Kind regards, 
    Eddie

    Hi,
    By default, the "Show total number of items" setting should persists after restarting Outlook. Moreover, the setting will also be kept when you change to another computer.
    Please try to create a new mail profile in Control Panel and reconfigure your Exchange account to troubleshoot the issue. For your reference:
    http://support.microsoft.com/kb/829918
    Please let me know the result.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to find total no of items ordered

    Hi all,
    Pls let me know how to fine total number of items ordered per given purchqge order?
    ex:
    purchage order    item    ordered
    100001            1       4
    100001            1       5
    100001            1       7
    100001            1       6
    for above purchage order total ordered= 22
    I dont know field for quantity ordered.
    Thanks in advance,
    Shashikanth.

    po no.  | item   |  ordered
    100001      1          4
    100001      1          5
    100001      1          6
    100001      1          7
    sort itab by pono item ordered
    at end of order item sum.
    write/ ordered.
    Regards
    Raja

  • Restrict number of items in folder portlet

    how can I restrict the number of items showed in a folder portlet?
    i only want to display 15 items. And show a next link to view the others??????
    Is this possible?
    Thanks in advance

    No, there is no way around this limitatin at this time.

  • Total Number of line items in FBL3N

    Hi,
    I would like to have total number of open items (entries) as on  12/31/2008 for all B/S accounts. I just want the number.
    I can go in BSIS and click on number of entris but I have 1000's of Gl account to know the total number of line item.
    Is there any way I can get the number of open entries for too many GL account.
    -JR

    Hello
    In the selection parameters choose / enter all open item managed B/S GL accounts and choose the report as below
    1 GL Account Balances (Totals & Balances )             S_ALR_87012301
    3.  GL Line Items                                        S_ALR_87012282
    4.  Statements for GL Accounts, Customers & Vendors      S_ALR_87012332
    5.  Document Journal                                     S_ALR_87012287
    6.  Compact Document Journal                             S_ALR_87012289
    7.  Line Item Journal                                    S_ALR_87012291
    8.  Display of Changed Documents                         S_ALR_87012293
    9.  Invoice Numbers assigned Twice                       S_ALR_87012341
    10. Gaps in Document Number Assignments                  S_ALR_87012342
    11. Posting Totals Document Type wise                    S_ALR_87012344
    12. Recurring Entry Documents                            S_ALR_87012346
    Reg
    suresh

  • In the info bar at the bottom of the iphoto window, why is the number of items different from the total

    In the info bar at the bottom of the iphoto screen, why is the number of items different from the total?

    What version of iPhoto and system are you running? What mode are you in, i.e. Events, Photos?
    If it's the Photos mode the number at the bottom will represent the number of photos displayed in that mode or the number of photos selected in that mode. The number will match the number next to the photos mode only when there are no photos in that mode that are selected. 
    If you click on the Events icon and then back on the photos icon the numbers should match.
    OT

  • Max number of content items in one folder

    Hi,
    What would be the max limit content item dumped in one folder???
    Thanks

    Take a look, for instance, at this link: http://hishamgalal.blogspot.com/2012/01/increase-maximum-number-of-folders-and.html
    There is no factual limit. Only, when there are too many items in one folder, the system does not perform well. Therefore, you may adjust the maximum number of allowed items by two parameters mentioned on the linked page.

  • I have just updated to Lion and now my folders no longer show number of items on the bottom. Is there a fix for this?

    I have just updated to Lion and now my folders no longer show number of items on the bottom. Is there a fix for this? I allways found that handy. Now I have to click on an icon on the top, This is a backward step if that is now the only way to see the number of items. Am I missing something obvious?

    Parrotcat wrote:
    I have just updated to Lion and now my folders no longer show number of items on the bottom...    
    In the good old days of Snow Leopard, an open Finder folder had a border along the bottom of the window which could show the number of items in that window and the total available space on the hard disk or partition that folder resides on. That bottom border is gone in Lion and those two bits of information are gone with it. Is that what you're talking about? If so, I'd like to learn how to get it back too and "Show Item Info" is not the way.

  • How to get the total number of occurrences based on the value of a column.

    Hello everyone,
    This is the first time that I will ask question here on your forum but has been following several threads ever since. I guess that now is my turn to ask a question. So anyway here is the thing, I have a query that should return count the number of rows depending on the value of SLOT. Something like this:
    WIPDATAVALUE          SLOT             N            M
    1-2                   TRALTEST43S1     1            3
    1-2                   TRALTEST43S1     2            3
    3                     TRALTEST43S1     3            3
    4-6                   TRALTEST43S2     1            4
    4-6                   TRALTEST43S2     2            4
    4-6                   TRALTEST43S2     3            4
    7                     TRALTEST43S2     4            4-----
    As you can see above, on the SLOT TRALTEST43S1, there are three occurrences so M (Total number of occurrences) should be three and that column N should count it. Same goes with the SLOT TRALTEST43S2. This is the query that I have so far:
    SELECT DISTINCT
    WIPDATAVALUE, SLOT
    , LEVEL AS n
    , m
    FROM
      SELECT
        WIPDATAVALUE
        , SLOT
        , (dulo - una) + 1 AS m
      FROM
        SELECT
          WIPDATAVALUE
          , SLOT
          , CASE WHEN INSTR(wipdatavalue, '-') = 0 THEN wipdatavalue ELSE SUBSTR(wipdatavalue, 1, INSTR(wipdatavalue, '-')-1) END AS una
          , CASE WHEN INSTR(wipdatavalue, '-') = 0 THEN wipdatavalue ELSE SUBSTR(wipdatavalue, INSTR(wipdatavalue, '-') + 1) END AS dulo
        FROM trprinting
        WHERE (containername = :lotID OR SLOT= :lotID) AND WIPDATAVALUE LIKE :wip
    ) CONNECT BY LEVEL <= m
    ORDER BY wipdatavalue;And that it results to something like this:
    WIPDATAVALUE          SLOT             N            M
    1-2                   TRALTEST43S1     1            2
    1-2                   TRALTEST43S1     2            2
    3                     TRALTEST43S1     1            1
    4-6                   TRALTEST43S2     1            3
    4-6                   TRALTEST43S2     2            3
    4-6                   TRALTEST43S2     3            3
    7                     TRALTEST43S2     1            1-----
    I think that my current query is basing its M and N results on WIPDATAVALUE and not the SLOT that is why I get the wrong output. I have also tried to use the WITH Statement and it works well but unfortunately, our system cant accept subquery factoring.
    I know you guys will be helping out because you are all awesome. Thanks everyone
    Edited by: 1001275 on Apr 19, 2013 8:07 PM
    Edited by: 1001275 on Apr 19, 2013 8:18 PM

    Hi,
    Sorry, it's still not clear what you want.
    Are you saying that, given this table:
    CREATE TABLE trprinting
      WIPDATAVALUE       VARCHAR2(255)
    , SLOT               VARCHAR2(255)
    INSERT INTO trprinting (wipdatavalue, slot) VALUES ('1-2',  'TRALTEST43S1');
    INSERT INTO trprinting (wipdatavalue, slot) VALUES ('3',    'TRALTEST43S1');
    INSERT INTO trprinting (wipdatavalue, slot) VALUES ('4-6',  'TRALTEST43S2');
    INSERT INTO trprinting (wipdatavalue, slot) VALUES ('7',    'TRALTEST43S2');you want to produce this output:
    WIPDATAVALUE SLOT                     N          M
    1-2          TRALTEST43S1             1          3
    1-2          TRALTEST43S1             2          3
    3            TRALTEST43S1             3          3
    4-6          TRALTEST43S2             1          4
    4-6          TRALTEST43S2             2          4
    4-6          TRALTEST43S2             3          4
    7            TRALTEST43S2             4          4? If so, here's one way:
    WITH     got_numbers     AS
         SELECT     wipdatavalue
         ,     slot
         ,     TO_NUMBER ( SUBSTR ( wipdatavalue
                               , 1
                           , INSTR ( wipdatavalue || '-'
                                ) - 1
                     )          AS low_number
         ,     TO_NUMBER ( SUBSTR ( wipdatavalue
                               , 1 + INSTR ( wipdatavalue
                     )          AS high_number
         FROM     trprinting
    SELECT       wipdatavalue
    ,       slot
    ,       ROW_NUMBER () OVER ( PARTITION BY  slot
                                 ORDER BY          low_number
                        )                    AS n
    ,       COUNT (*)     OVER ( PARTITION BY  slot )     AS m
    FROM       got_numbers
    CONNECT BY     LEVEL               <= high_number + 1 - low_number
         AND     low_number          = PRIOR low_number
         AND     PRIOR SYS_GUID ()      IS NOT NULL
    ORDER BY  low_number
    ,            n
    ;Much of the complexity here is caused by storing 2 numbers in 1 VARCHAR2 column, wipdatavalue. Relational databases work best when there is no more than 1 item in any given column of any given row. This is so basic to datbase design that it is called First Normal Form. Also, numbers belong in NUMBER columns, not VARCHAR2. If you stored your data like that in the fist place, then you wouldn't need the sub-query I called got_numbers, which is about 60% of the code above. (That could be reduced by replacing SUSTR and INSTR with the less efficient REGEGP_SUBSTR.)

  • Need to Find Total number of InfoPart form in our Web application

    Hello,
    We have to find total number of Infopath forms in our web application. IS there any Power sheell Scripts or anuthing which can output the Infopath Forms location and file count .
    Thanks
    Kundan

    How about something like:
    Get-SPWebApplication http://yourWebAppUrl |
    Get-SPSite -Limit All |
    Get-SPWeb -Limit All |
    Select -ExpandProperty Lists |
    Where { $_.GetType().Name -eq "SPDocumentLibrary" -AND -NOT $_.Hidden } |
    Select -ExpandProperty Items |
    Where { $_.Name -LIKE "*.xsn" }
    Select {$_.Web.Url}, Url
    The above will list all of the files. Do you need counts by library, by site or other?
    Mike Smith TechTrainingNotes.blogspot.com

Maybe you are looking for

  • How to hide name of Role from the top level navigation of the portal

    Hi Experts, In my project, I have created 2 roles Role A and Role B. These roles have been assigned to User X. When user X logs in, he is able to see name of role that is 'A' in the top level navigation. As per the requirement, user X should not see

  • Hierarchy in oracle

    Dear expert After so much digging around and studying I have been able to make some progress in understanding and utilizing hierarchy structures in oracle but I am not there unfortunately. I have the following sample data below create table t1   pare

  • Wbs Vs Internal Order

    Hi Gurus, I'd like to kow which are the advantages of using WBS vs I.O for tracking the expenses related to dicounts in/off invoices. Award points for any helpful suggestion Regards C*

  • About serilize/deserilize complex objects

    Dear friends, I have a question about transfering complex objects between client and server. if I just transfer primitive data type, any language of client side can consume this web service. but how about if I transfer complex object? for example, in

  • Safari Refuses to Open After 10.4.7 Update

    Hello, I just installed the new 10.4.7 update onto my computer, and now Safari 2.0.4 will not open. Could anyone help? Here's a crash log. Thanks, yeri: Host Name: marc-berrys-powerbook-g4-12 Date/Time: 2006-06-27 18:25:55.340 -0500 OS Version: 10.4.