Inventory to determine size of a folder on workstation

I am trying to see if I can determine the size of a folder on an inventoried workstation. I am trying to find a way to determine the size of the GW archive folder (always named of???arc). Is this possible?
thanks

What you're asking for is, I think, really outside ZAM's scope. The Collector can indeed return files from a directory on the workstation to the central database, but the size of those files is limited... and for very good reason. Network bandwidth would suffer terribly if every scan resulted in gigs of returned (collected) files, and the database would bloat beyond belief with one copy of each file from each workstation in the enterprise.
One way to get closer to what you're asking for would be to pipe DIR directly into a file somewhere on the box, then have the scan return that file. The contents of that "DIR" file can be easily displayed from a ZAM Manager (and, I think, the WebConsole... but I'm not terribly familiar with the WC).
The DIR file (suggested name: DIR.TXT) would contain the full list of those files by name, including their individual and collective sizes.
ZAM's purpose is automatically inventorying "Products", or "Assets", and not so much "Data" except in the sense of data about those products.
-- Tim --
Originally Posted by JFerris
Agreed...but if I had to go to that much work, why would I need the product at all? I see in reports that I should be able to return the files located in a particular directory (though I haven't been able to get that to actually function). If I can get the list of files and sizes, I'm good. So maybe my question is how do I get a report of files and their sizes in a defined folder?

Similar Messages

  • Is there a way to display the size of a folder or group of folders in Bridge?

    In windows it is easy to click on any folder and see the size of it's contents, whether it is a single folder or contains subfolders.  This doesn't seem possible as far as I can see in Bridge.  The only way I can see to see the size of a folder is to select all files in the folder and then it will display the size. Seems quite a clunky way or working and is frustrating when you want to see the size of a folder containing sub folders.  Strange for a program which is supposed to make managing files easier.  However, I'm hoping that there is a way to do this and I've not discovered it yet.
    If anyone knows of a way to click on any folder and display it's contents (with or without subfolders) without having to select all files, I would greatly appreciate them sharing it.
    Many thanks,
    Julie

    In the Folders Tab, right click on  folder  then click Reveal in Explorer. This will open an Explorer window with the folder selected.  In Explorer you can right click > Properties or navigate to whatever you want to measure.

  • Time Machine on my iMac won't open iPhoto. It goes to desktop screen automatically. When I select User/Picture/Iphoto library it only brings up the preview page with the size of the folder. I can't get into the library to look for lost photos.

    Time Machine on my iMac won't open iPhoto. It goes to desktop screen automatically. When I select User/Picture/Iphoto library it only brings up the preview page with the size of the folder. I can't get into the library to look for lost photos.

    Thank You. This helps me alot to get into the masters and to see events and photos in a utilitarian way, but it is not as easy as viewing the normal iphoto format to find photos.  Can I do something else or did I not do something right to not see normal iphoto in Time Machine ?

  • How to calculate size of a folder located on different machine(Remote) in sql server 2008?

    DECLARE @TenantId UNIQUEIDENTIFIER ='A79ED820-2E5E-4A9D-B930-B7597DC97081'
    DECLARE @BusinessName VARCHAR(200)
    declare @line  varchar(255) =''
    declare @path varchar(255)=''
    declare @command varchar(255)=''
    DECLARE @folderSizeGB decimal (16,8) = 0
    DECLARE @AttachmentDiscSpaceUsed decimal (16,8) = 0
    -- Code to calculate folder size in GB BEGINs
                IF OBJECT_ID('tempdb..#temp') IS NOT NULL
                drop table #temp
                create table #temp (line varchar(255))
                --set @path = '\\ewp-dev18\\c$\\Attachments\\' +  CONVERT(varchar(50),@tenantId)
                set @path = '-S ewp-dev18 -E -i ewp-dev18\\c$\\Attachments\\' +  CONVERT(varchar(50),@tenantId)
                set @command = 'dir "' + @path +'"'                               
                insert into #temp
                exec master.dbo.xp_cmdshell @command
                select
                @line=
                ltrim(replace(substring(line, charindex(')', line)+1,
                len(line)), ',', ''))
                from #temp where line like '%File(s)%bytes'
                SET @line=
                (Case WHEN @line IS NULL or @line ='' THEN '0' ELSE @line END)
                set @folderSizeGB  = Cast(Replace(@line,'bytes', '') as decimal)/1073741824
                if (@folderSizeGB is null )
                set @folderSizeGB =0
                SET @AttachmentDiscSpaceUsed = @folderSizeGB
                SET @path=''
                SET @command=''
                SET @line=0
                -- Drop #temp table
                IF OBJECT_ID('tempdb..#temp') IS NOT NULL
                drop table #temp
                -- Code to calculate folder size in GB ENDs
                

    hello RSingh,
    Once again thanks for your cooperation,
    I applied the script you posted, but it is not giving me the size of the folder which is located at a remote machine. Please note the " I need to calculate the size of the folder which is located at a remote machine".and when i applied its path in your script,
    it raises "Access is denied" error message.
    My path is - '\\ewp-dev18\c$\Attachments'
    EXEC getFileProperties '\\ewp-dev18\c$\Attachments'
    and this folder does not have any sub folders, it contains only some txt files, image files or some doc files. so no issue of sub folder.
    and about my remote server 'ewp-dev18', i have all access and rights, but still raising "Access is denied". why?
    do i need to pass any login credential with it ???

  • Using JavaScript to Determine a Form's Folder Name

    We have an awful lot of forms, and in many cases, our custom JavaScript applies to all forms in a given folder. We would like to determine the form's folder name so that we don't have to list each and every form in a giant "IF" statement.
    Has anyone figured out how to determine a form's folder using JavaScript?
    Thanks!
    - Jake

    Jake_Turrell wrote:
    I think the only solution to the "refresh" issue would be to somehow query the hsp_object table and grab the parent_id (which for a form is the folder ID). If anyone figures out how to query the application repository from JavaScript,that would be very, very cool.
    As the database is server side and javascript is client side you would have to use something like an ajax call that passes the form id into an jsp script, the jsp script would query the repository and return the value to javascript.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Is it possible to display the size of a folder in a cell??

    Hi,
    i would like to know if there is any way or function to assign to a cell for display for example the size of a folder on the hard drive.....
    so whenever the folder size is changing, the cell is updated......
    another example, is to display the number of files inside a specific folder......
    Any way to do this????
    Thanks for your precious help.
    Marco

    Hi everybody,
    i did some step forward, but i'm blocked in a step....
    this is the script I build so far:
    tell application "Finder"
              if disk "Data" exists then
                        set peso010 to get physical size of folder "010 - Foto" of disk "Data"
              else
                        set peso010 to 0
              end if
              tell application "Numbers"
                        open "/Users/asialimarco/documents/test.numbers"
                        set the value of cell "B2" to peso010
              end tell
    end tell
    The first portion is getting correctly the size of my folder on external drive, a value when the disk is plugged in, 0 when is not.
    The second portion is where i get an error. It does open Numbers, it does open my file, it selects (the blue square) the right cell, but doesn't write on it anything. The Apples script returns an error which is:
    error "Numbers founds an error: Can't set cell \"B2\" at 0." number -10006 from cell "B2"
    I tried many times by also setting the value of the variable manually, but the error is always the same.
    What I'm missing? why i can't write on that cell (or anyother), with the on-line documentation it semas i need to open the file with write permissions, but i can't figure out how to do that.
    Anyone can help me?
    Thanks to all of you.

  • How to find the Size of a Folder &also list the sub folder and files in it

    In my program I want to know the size of a folder . The input given is the path of the folder and the ouptut should be the list of files and subfolders with their size. What is the function we have to use for this?
    Thank you

    class: file
    method: listFiles() - list all files of the dir referenced by the file object
    method: length() - give the size of the file referenced by the file object ; you have to call this method on all file of the dir to make the sum and have the dir size

  • Determine size of pdf from spool

    All,
    does anyone know how to determine size of pdf from spool.
    i'm using RSPO_RETURN_ABAP_SPOOLJOB to get pdf file, but i want to know its size.
    any idea?

    Assume the PDF data is in internal table gt_messg_att.
    MOVE p_spoolno TO lv_spoolno.
    * CONVERT THE SPOOL TO PDF
      CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
        EXPORTING
          src_spoolid                    = lv_spoolno
          no_dialog                      = lc_no_dialog
    *     DST_DEVICE                     =
    *     PDF_DESTINATION                =
       IMPORTING
         pdf_bytecount                  = lv_bytecount
    *     PDF_SPOOLID                    =
    *     OTF_PAGECOUNT                  =
    *     BTC_JOBNAME                    =
    *     BTC_JOBCOUNT                   =
       TABLES
         pdf                            = gt_pdf_output
       EXCEPTIONS
         err_no_otf_spooljob            = 1
         err_no_spooljob                = 2
         err_no_permission              = 3
         err_conv_not_possible          = 4
         err_bad_dstdevice              = 5
         user_cancelled                 = 6
         err_spoolerror                 = 7
         err_temseerror                 = 8
         err_btcjob_open_failed         = 9
         err_btcjob_submit_failed       = 10
         err_btcjob_close_failed        = 11
         OTHERS                         = 12
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
    * Transfer the 132-long strings to 255-long strings
        LOOP AT gt_pdf_output INTO wa_pdf_output.
          TRANSLATE wa_pdf_output USING ' ~'.
          CONCATENATE v_buffer wa_pdf_output INTO v_buffer.
          MODIFY gt_pdf_output FROM wa_pdf_output.
          CLEAR wa_pdf_output.
        ENDLOOP.
    * TO CONVERT THE DATA INTO PDF FORMAT ELSE THE PDF FILE
    * WON'T OPEN & REPORT WOULD GIVE A MESSAGE THAT
    * THE FILE IS DAMAGED & COULD NOT BE OPENED
        TRANSLATE v_buffer USING '~ '.
        CLEAR : wa_messg_att,
                gt_messg_att.
        DO.
          wa_messg_att = v_buffer.
          APPEND wa_messg_att TO gt_messg_att.
          SHIFT v_buffer LEFT BY 255 PLACES.
          IF v_buffer IS INITIAL.
            EXIT.
          ENDIF.
          CLEAR wa_messg_att.
        ENDDO.
      ENDIF.
    * Get size of attachment
      DESCRIBE TABLE gt_messg_att LINES lv_cnt.
      READ TABLE gt_messg_att INTO wa_messg_att INDEX lv_cnt.
      lwa_doc_data-doc_size =  ( lv_cnt - 1 ) * 255 + STRLEN( wa_messg_att ).

  • Font size in the folder window and feet thumbnails Adobe Bridge

    I've been trying to figure out how to increase font size in the Folder window and foot Brige thumbnails, but can not find it anywhere.
    I do not mean the font size in the window metadata. In that window I know how.
    If anyone can help me I would appreciate it very much, as I have vision problems and the size of the letter have to much strain to read.
    Thank you very much in advance.
    Regards

    Thank you very much for your quick reply.
    I imagined that this is not possible ..... I´ve given it a lot of thought before asking .....
    As is the case with the brightness of the background area around the picture window in ACR (trim panels column and area around the image window), whose brightness dazzles enough to incorrectly assess the brightness of dark parts  image and can not be changed  (as can be done, however, in Bridge and Ps, even in the background of the image window's own ACR 8.4), this two questions should be posed to developers group Creative Cloud, as suggestions for future improvements that could be implemented .... But I have no idea how to do that .....
    Again, thank you very much for your feedback.
    Regards

  • Nokia N73 is not giving correct size of the folder.

    Hi,
    I am using FileConnection API in my code and when i try to retrieve the size of the Folder then it gives me the wrong size. It gives me the size = 430KB but there are only 2 png images in that folder which are of size 10K and 19K.
    What i have done is :: I have created the folder and created multiple image through the application. And after sometime i have deleted some images from that folder through the application. And when next time when i was trying to get the size of that folder then it gives me the size = 430KB rather than the updated size.
    After that i viewed the details of that folder through FileSystem. At that it also shows me the same size = 430 KB. It restarted the phone and then viewed the size but it was same.
    I have deleted and created the file using create() and delete() of FileConnection API.
    For creation of file::
                     fileConn.create();
                      OutputStream os = fileConn.openOutputStream();
                      os.write(data, 0, data.length);
                      os.close();
    For Deletion::
                fileConn = (FileConnection) Connector.open(url);
                   fileConn.delete();
                   fileConn.close();There are no hidden files in that folder.
    Can anyone please tell me what will be the problem? Is this a phone issue or something i have missed?
    Thanx
    Adeesh Jain

    20-Dec-2008 07:57 PM
    hotbikerboy wrote:
    hi have Nokia N73 ME (music edition) since 3 months it dont have any problem yet but today from morning to evening i turning on the phone and put it into my pocket but after some time when i put back it was turning off. it happend 3 or 4 time today but in the evening i have played a game on mobile and also mobile on charging during game played my bettary if full.
    After played the game i put it at the top of the higher cupboard and after sometime when i put back phone it was off and after it i tried many times but it not turning on battery is all right i have check it .
    Now tell me what can i do to put it on? plz help me.

  • How to know total size of a folder? plz help

    hi,
    I want to know total size of a folder in which other folders & files r there. I know how to find the size of a particular file but not directory. Plz send me code.

    hi,
    I want to know total size of a folder in which other
    folders & files r there. I know how to find the size
    of a particular file but not directory. Plz send me
    code.you could write the code yourself. you could use a
    recursive method that builds a collection of files and
    then loop through each file and add it's size to a total.
    send a directory to this method, get a File[ ], then check
    file.isDirectory()
    if not, get the size, if so do file.listFiles() and go again.

  • Unable to generate report for size of KM folder

    hi all,
    i want to generate report for size of folder in KM.I am havingthe following roles content admin,content management,system admin,home, are these roles sufficent to generate report or any roles are needed?
    And other issue is after going into Content management role I am clicking reports workset but I am unable to see "Folder Size Calculation" option, any full access are needed to see it.
    I am following help.sap link plz don't send it ,give me any other Material.
    After starting the Km report  in Resource Statistics its showing size as zero.
    help me in sloving this issue.
    thanks in advance,
    Aravind

    You could find all KM reports to the given navigation
    try all these paths...I am unable to findout your issue definitely permission related
    System Administration -> System Configuration -> Knowledge Management -> Content Management -> Related Topics -> CM Repository Reports
    Content Administration -> KM Content -> Toolbox -> Reports
    Content Management -> Reports
    Regards
    Koti

  • Can you set a max size for a folder on a file server

    I've got a G5 Xserve that I'm using as a file server running 10.3.9. I need more space on my array so I bought bigger drives and will move the data to the new, larger array.
    For the health of my drives, I want my array to maintain at least 10% free space so I would like for the people using the shares to only see 90% of the larger space. (I don't want to have to be the 'drive space' policeman 6 months from now when the RAID fills up again)
    I know I could create 2 partitions in diskutil but I'd like something more dynamic.
    Ideally I'd like to put my shared folders inside of a main folder and tell Server to only display 90% of the size of the partition when a folder from the partition is mounted remotely. That way people won't know there is a quota which keeps them from trying to copy data into a share that shows 10% free space.
    The shares are used by both macs and PCs so I'd rather not go with a solution based upon network protocol.
    Many Thanks,
    Paul
    G5 Xserve   Mac OS X (10.3.9)  

    There's no way I'm aware of to artificially display a different capacity/available space than what's actually there. If it's a 1TB volume, it's a 1TB volume and the OS isn't going to report that as 900GB.
    The only other solutions I can think of is to either enable quotas which will let you restrict the amount of disk space any user can consume, or attach a folder action to the volume where the script automatically checks the volume size whenever new files are added and takes action at the appropriate time (you need to define what that action is, though).

  • PDF file size increases several folds after OCR

    Hello,
    I've been using Acrobat Pro 9.  Whenever I receive a scanned PDF from someone, I always try to OCR it.  I thought this would reduce the file size because it's saved as text characters instead of images.  However, the file size actually increases several folds.  For example I just had a scanned PDF with original size of 3M, but after OCR (settings:  searchable image, downsample to 300dpi), the file size is > 19M.  This is a legal document with no pictures or diagrams.  Even ClearScan gives a result of 15M file.  Could you help explain why and how I can change this?  Thank you.
    Hung

    I just did an OCR with Searchable Image (exact); and here are all results
    Original:  3,046 KB
    Searchable Image (300dpi):  19,408 KB
    Searchable Image (Exact) (600dpi):  3,377 KB
    ClearScan (300dpi):  14,813 KB
    So in this example, Searchable Image (exact) only causes about 10% increase in size.  I used Save As "PDF" (not "Reduced Size PDF" or "Optimized PDF"...).  Does this make sense?  Thank you.
    Hung

  • Get specific filenames and sizes from a folder based on a list of variables

    Hi,
    I have a folder containing user's OST files, with various filenames:
    \\myserver\OST share\JBLoggs - Outlook 2010.ost
    \\myserver\OST share\CKent - Outlook2013.ost
    \\myserver\OST share\BAllan Myoutlook.ost
    There are several thousand files, and I need to get the file names & file sizes for 200 specific users only. I tried a for do in a bat file, but wildcards don't appear to be honored:
    "for /f %%a in (C:\Temp\UserNames.txt) do dir "\\myserver\OST share\%%a*" >> C:\Temp\Filenames.txt
    The * is not recognised as a wildcard, and the .bat fails (the dir command is parsed as "\\myserver\OST share\JBloggs*)
    I can do this manually via Excel, but it will be an ongoing task so I'd rather automate it. I've also tried Powershell, but am hitting policy restrictions (from my employer, not from Powershell), and no joy with Google. Any advice? (& thanks to all for
    looking!)

    Edit: Adding a PushD/PopD to the start and end of the bat file and removing the path from the dir command appears to have fixed it.
    Must have been something in the folder path that was breaking it, although since it maps fine through PushD & works when typed manually, I'm at a loss to explain what. Thanks for taking a look - appreciated!
    I'm not sure why it's working for you, but not working for me - I had assumed there was a syntax error/rule/additional switch needed in a For Do loop, so that is what I have been researching. There are definitely confirmed files that start with the usernames
    in my list. As an example:
    -My list & folder contains the variable DQuinn. When I run the bat file the following is displayed in the command prompt window I run it from:
    C:\Windows\System32>dir "\\myserver\OST share\DQuinn*"  1>>C:\Temp\Filenames.txt
    So the wildcard is treated as a literal * character, and not as a wildcard - in turn the dir command fails.
    (I'm not sure why 1 is displayed in front of the >>, but the txt file is written to correctly and removing the whole >>C:\Temp\Filenames section doesn't fix the bat file, so I'm not worried about that part).
    -From the same command prompt, if I run the command
    dir "\\myserver\OST share\DQuinn*"
    Then I get the expected output:
    Directory of \\myserver\OST share
    01/04/2015  02:47 PM       250,322,944 [email protected] - 2010.ost
                   1 File(s)    250,322,944 bytes
                   0 Dir(s)  4,288,303,345,664 bytes free
    Side note: I'm assuming the double a (%%aa) in your answer is a typo? I tried copying it just in case, but no joy :)

Maybe you are looking for

  • Is it really another error about full table scans for small tables....?????

    Hi , I have posted the following : Full Table Scans for small tables... in Oracle10g v.2 and the first post of Mr. Chris Antognini was that : "I'm sorry to say that the documentation is wrong! In fact when a full table scan is executed, and the block

  • Picasa Web Album Playback Error

    I used QuickTime Pro to edit .mov files from my camera. No problems with playback in QuickTime or in Picasa resident on my machine, but when I upload the edited files to Picasa Web Album, the audio track is out of sync with the video or worse. In fac

  • Thunderbird 3.1 and 10.6 Server Mail Services

    I am trying to connect to our Mail Server which is part of OS X 10.6 server. I just can't get it to work. What settings should I be using for a standard connection. Any help would be fantastic and greatly appreciated.

  • Error in cache refresh

    Error in cache refresh Dear all expert I have created one BPM scenario after when execute that scenario then problem come in cache Before that scenario my Pi working fine now. I have delete communication channel of BPM scenario but still facing probl

  • Transporting Customization

    Hi All, I am facing a problem in Transporting Customization changes (deletion Customization) from Development Server to the Test Server. We have same customization maintained in Dev Server and Test Server. For Example Initially: House Bank BNK01 - pa