Zipping a folder with empty and non empty subfolders

Hello everybody there,
Right now i am facing the difficulty to zip a folder which is having some empty and non-empty folders within it.
Can anyone suggest me what to do.
I want to do it with java.util.zip package

Hello, Omke.
I will follow your suggestion and try to request this feature for a future release of Bridge. One thing I thought was that perhaps this is something that could be accomplished with a script. I have seen a few interesting scripts in Adobe's Exchange web page, John Nack's web site and also on Peter Krogh's DAM useful web site. Some of the scripts I have seen on these sites perform tasks that are far more complex (or so they seem) than it would be to simply display the number of images next to each folder.
Good point about what number to display. My folder hierarchy is quite simple. All I have is a main photos folder and inside this folder I have numerous others, each corresponding to a photo shoot/location. In my specific case the number next to each folder would correspond to the number of images in the folder not counting other files whether hidden or not (things like bridge cache, sidecar files and others would not be included in the number).
How easy or difficult would it be to find someone experienced enough with Bridge scripting so as to suggest this project ? What would be the best place to post such a suggestion/request ?
Thank you again for your reply and helpful answer.
Best regards,
Joseph

Similar Messages

  • Differentiate empty and non-empty pixels

    I'm a web developer currently slicing an illustrator file for web graphics. Some of the icons and images have shadows, lights, etc, and it's impossible to simply see by a naked eye which pixels contains some shade or nearly transparent color and which doesn't.
    It would be extremely useful if I could somehow easily differentiate between empty and non-empty pixels, so I wouldn't miss any when slicing.
    Any advices??

    Select the objects you want to cut, pick the artboard tool, and from its presets menu on the control bar choose Fit to Selected Art. In Safe for Web and Devices window, in the Image Size tab, make sure Clip to Artboard is checked. This will cut the image without including any empty (fully transparent) pixels.
    edit: Alternatively if you hide unselected art (Shift+Ctrl+Alt+3), in the Safe for Web and Devices with the Clip to Artboard unchecked will cut the selected object/s without including fully transparent pixels. So with this approach you don't have to use artboards.
    You can create new artboards for each icon, element, etc, by drawing with the Artboard tool and holding Shift. With the desired objects selected, draw a new artboard anywhere on the document with any size and choose Fit to Selected Art.
    You can also see the bounding box that includes all pixels of the selected object/s while the selection tool (black pointer) is the current tool if you the Use Prevew Bounds option is on. This option is available in the General section of the Preferences and also from the flyout menu of the Align panel.

  • How to copy folder with files and subfolders within it  to another folder

    how to copy a folder with files and subfolders within it to another folder

    http://javaalmanac.com/egs/java.io/CopyDir.html?l=new

  • Internal table with Dynamic and Non dynamic fileds

    Hi Experts,
    How to get the internal table with Dynamic and Non-Dynamic Fields.
    Could u please help me.
    Thanks,
    Varun

    Hi,
       Execute the below sample code or analyze it there is appropriate description provided.
    *& Report  ZTEST_PRM_DYN_ALV
    REPORT  ZTEST_PRM_DYN_ALV.
    type-pools: slis.
    field-symbols: <dyn_table> type standard table,
    <dyn_wa>.
    data: alv_fldcat type slis_t_fieldcat_alv,
    it_fldcat type lvc_t_fcat.
    selection-screen begin of block b1 with frame title text-001.
    parameters: p_flds(5) type c.
    selection-screen end of block b1.
    start-of-selection.
    *build the dynamic internal table
    perform build_dyn_itab.
    *write 5 records to the alv grid
    do 5 times.
    perform build_report.
    enddo.
    *call the alv grid.
    perform call_alv.
    *Build_dyn_itab
    form build_dyn_itab.
    data: new_table type ref to data,
    new_line type ref to data,
    wa_it_fldcat type lvc_s_fcat.
    *Create fields .
    clear wa_it_fldcat.
    wa_it_fldcat-fieldname = 'name1'.
    wa_it_fldcat-datatype = 'mara-matnr'.
    wa_it_fldcat-intlen = 5.
    append wa_it_fldcat to it_fldcat .
    *clear wa_it_fldcat.
    wa_it_fldcat-fieldname = sy-index.
    wa_it_fldcat-datatype = 'CHAR'.
    wa_it_fldcat-intlen = 5.
    append wa_it_fldcat to it_fldcat .
    do p_flds times.
    clear wa_it_fldcat.
    wa_it_fldcat-fieldname = sy-index.
    wa_it_fldcat-datatype = 'CHAR'.
    wa_it_fldcat-intlen = 6.
    append wa_it_fldcat to it_fldcat .
    enddo.
    *Create dynamic internal table and assign to FS
    call method cl_alv_table_create=>create_dynamic_table
    exporting
    it_fieldcatalog = it_fldcat
    importing
    ep_table = new_table.
    assign new_table->* to <dyn_table>.
    *Create dynamic work area and assign to FS
    create data new_line like line of <dyn_table>.
    assign new_line->* to <dyn_wa>.
    endform.
    *Form build_report
    form build_report.
    data: fieldname(20) type c.
    data: fieldvalue(5) type c.
    data: index(3) type c.
    field-symbols: <fs1>.
    do p_flds times.
    index = sy-index.
    *Set up fieldvalue
    concatenate 'FLD' index into
    fieldvalue.
    condense fieldvalue no-gaps.
    assign component index of structure <dyn_wa> to <fs1>.
    <fs1> = fieldvalue.
    enddo.
    *Append to the dynamic internal table
    append <dyn_wa> to <dyn_table>.
    endform.
    *CALL_ALV
    form call_alv.
    data: wa_cat like line of alv_fldcat.
    *clear wa_cat.
    wa_cat-fieldname = 'matnr'.
    wa_cat-seltext_s = sy-index.
    wa_cat-outputlen = '10'.
    append wa_cat to alv_fldcat.
    do p_flds times.
    clear wa_cat.
    wa_cat-fieldname = sy-index.
    wa_cat-seltext_s = sy-index.
    wa_cat-outputlen = '6'.
    append wa_cat to alv_fldcat.
    enddo.
    *Call ABAP List Viewer (ALV)
    call function 'REUSE_ALV_GRID_DISPLAY'
    exporting
    it_fieldcat = alv_fldcat
    tables
    t_outtab = <dyn_table>.
    endform.
    Hope this will help, reward if found usefull.
    Cheers,
    Ram.

  • What  type of  database  operations  effectd  with  Unicode  and  non  unic

    Hi  Friends,
       I want  to  know what  type of  database  operations  effects  with  Unicode  and  non Unicode  Programing  .
    Thanks,
    Ravi Kumar Mukkera

    Hi ,
    Check these links .
    http://help.sap.com/saphelp_nw04/helpdata/en/62/3f2cadb35311d5993800508b6b8b11/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtoot/docs/library/uuid/ff99cb90-0201-0010-e389

  • How can i zip a folder with use of  webutil

    hi,
    We are using forms 10g and weutil 1.0.6.Is it possilble to zip and extract a folder with use of the webutil
    our requirement is take current day folder, zip that filder and upload that file
    second requirement is extract the uploaded zip file
    if anybody know thanks in advance
    mathew

    most of the zip-tools can be started via parameter. So you have to read the readme's of those tools and start it in the background with the appropriate parameters

  • Sync folder with mac and I phone

    hay every one,
    how can i sync some specific folder with from mac to I phone , as in HTC last used it was easy through sync manager. you elect the folder and it get sync with phone and you can use that off lie work;
    regards
    Mayank

    iTunes media is stored only in iTunes on your local computer.  If you're in the US, now you can redownload purchased items only. Non-purchased items and items you purchased outside of iTunes is not recoverable.  If you're elsewhere, you're out of luck.

  • Folder with face and flashing question mark, what to do when this happens?

    I'm sure this has been asked a million times, please help, my brother has a ibook G4, OSX 10.3.9, about 3 years old and now when he turns on the ibook it has a folder with a face in it and a flashing question mark. Do you just leave it and it will sort it self out or is there something to do to make it go away? Any help will be appreciated. Thanks

    I have replaced a 40 G harddrive with a seagate 160 G drive. When I try to start it it only comes up with the flashing question mark. I have tried to boot off the install CD, but it only flashes the question mark. This is my daughters computer and she really needs it to work for school.
    I have tried to "restore" using my new Mac Book and the old 40 G drive in an external USB case. But still is no good. I have used DiskWarrior and the drive will boot.
    This is an ibook G4 running 10.4.2

  • Lucreate not working with ZFS and non-global zones

    I replied to this thread: Re: lucreate and non-global zones as to not duplicate content, but for some reason it was locked. So I'll post here... I'm experiencing the exact same issue on my system. Below is the lucreate and zfs list output.
    # lucreate -n patch20130408
    Creating Live Upgrade boot environment...
    Analyzing system configuration.
    No name for current boot environment.
    INFORMATION: The current boot environment is not named - assigning name <s10s_u10wos_17b>.
    Current boot environment is named <s10s_u10wos_17b>.
    Creating initial configuration for primary boot environment <s10s_u10wos_17b>.
    INFORMATION: No BEs are configured on this system.
    The device </dev/dsk/c1t0d0s0> is not a root device for any boot environment; cannot get BE ID.
    PBE configuration successful: PBE name <s10s_u10wos_17b> PBE Boot Device </dev/dsk/c1t0d0s0>.
    Updating boot environment description database on all BEs.
    Updating system configuration files.
    Creating configuration for boot environment <patch20130408>.
    Source boot environment is <s10s_u10wos_17b>.
    Creating file systems on boot environment <patch20130408>.
    Populating file systems on boot environment <patch20130408>.
    Temporarily mounting zones in PBE <s10s_u10wos_17b>.
    Analyzing zones.
    WARNING: Directory </zones/APP> zone <global> lies on a filesystem shared between BEs, remapping path to </zones/APP-patch20130408>.
    WARNING: Device <tank/zones/APP> is shared between BEs, remapping to <tank/zones/APP-patch20130408>.
    WARNING: Directory </zones/DB> zone <global> lies on a filesystem shared between BEs, remapping path to </zones/DB-patch20130408>.
    WARNING: Device <tank/zones/DB> is shared between BEs, remapping to <tank/zones/DB-patch20130408>.
    Duplicating ZFS datasets from PBE to ABE.
    Creating snapshot for <rpool/ROOT/s10s_u10wos_17b> on <rpool/ROOT/s10s_u10wos_17b@patch20130408>.
    Creating clone for <rpool/ROOT/s10s_u10wos_17b@patch20130408> on <rpool/ROOT/patch20130408>.
    Creating snapshot for <rpool/ROOT/s10s_u10wos_17b/var> on <rpool/ROOT/s10s_u10wos_17b/var@patch20130408>.
    Creating clone for <rpool/ROOT/s10s_u10wos_17b/var@patch20130408> on <rpool/ROOT/patch20130408/var>.
    Creating snapshot for <tank/zones/DB> on <tank/zones/DB@patch20130408>.
    Creating clone for <tank/zones/DB@patch20130408> on <tank/zones/DB-patch20130408>.
    Creating snapshot for <tank/zones/APP> on <tank/zones/APP@patch20130408>.
    Creating clone for <tank/zones/APP@patch20130408> on <tank/zones/APP-patch20130408>.
    Mounting ABE <patch20130408>.
    Generating file list.
    Finalizing ABE.
    Fixing zonepaths in ABE.
    Unmounting ABE <patch20130408>.
    Fixing properties on ZFS datasets in ABE.
    Reverting state of zones in PBE <s10s_u10wos_17b>.
    Making boot environment <patch20130408> bootable.
    Population of boot environment <patch20130408> successful.
    Creation of boot environment <patch20130408> successful.
    # zfs list
    NAME USED AVAIL REFER MOUNTPOINT
    rpool 16.6G 257G 106K /rpool
    rpool/ROOT 4.47G 257G 31K legacy
    rpool/ROOT/s10s_u10wos_17b 4.34G 257G 4.23G /
    rpool/ROOT/s10s_u10wos_17b@patch20130408 3.12M - 4.23G -
    rpool/ROOT/s10s_u10wos_17b/var 113M 257G 112M /var
    rpool/ROOT/s10s_u10wos_17b/var@patch20130408 864K - 110M -
    rpool/ROOT/patch20130408 134M 257G 4.22G /.alt.patch20130408
    rpool/ROOT/patch20130408/var 26.0M 257G 118M /.alt.patch20130408/var
    rpool/dump 1.55G 257G 1.50G -
    rpool/export 63K 257G 32K /export
    rpool/export/home 31K 257G 31K /export/home
    rpool/h 2.27G 257G 2.27G /h
    rpool/security1 28.4M 257G 28.4M /security1
    rpool/swap 8.25G 257G 8.00G -
    tank 12.9G 261G 31K /tank
    tank/swap 8.25G 261G 8.00G -
    tank/zones 4.69G 261G 36K /zones
    tank/zones/DB 1.30G 261G 1.30G /zones/DB
    tank/zones/DB@patch20130408 1.75M - 1.30G -
    tank/zones/DB-patch20130408 22.3M 261G 1.30G /.alt.patch20130408/zones/DB-patch20130408
    tank/zones/APP 3.34G 261G 3.34G /zones/APP
    tank/zones/APP@patch20130408 2.39M - 3.34G -
    tank/zones/APP-patch20130408 27.3M 261G 3.33G /.alt.patch20130408/zones/APP-patch20130408

    I replied to this thread: Re: lucreate and non-global zones as to not duplicate content, but for some reason it was locked. So I'll post here...The thread was locked because you were not replying to it.
    You were hijacking that other person's discussion from 2012 to ask your own new post.
    You have now properly asked your question and people can pay attention to you and not confuse you with that other person.

  • Working with Confirmed and Non Confirmed Dimensions

    The actual need for my situation is I have two facts F1 and F2 and Four Dimensions D1, D2, D3, D4
    D1 is a confirmed Dimension
    D2, D3 are joined to F1 and D4 to F2 according to the star schema . I need a report which has D1, D2, D3, D4 , F1. Is this possible ?
    Method applied : I added a new logical table source to F1 and pointed it to F2. I pulled in all the required dimensions and created a new logical folder with F1, D1,D2,D3,d4 . I created a logical join from D4 to F1 in BMM layer . The rest of dimensions are already connected to F1.
    Now when i run the report the i get null values when i pull in D4 and F1 which is logically correct but when i try to run the report D1,D2,D3,D4,F1 it returns an error ? Should i need to include even F2 in my report ?

    I actually have an out of box RPD which has defined hierarchies only for certain dimensions. Is it a good practice to define hierarchies for all the dimensions ?
    can't we establish the report D1,D2,D3,D4,F1 without the hierarchies ?
    For the present RPD we have hierarchy defined only for D3 . Reports running on the present subject areas are working perfectly fine even without the hierarchies. Only when i am trying to span across different subject areas i get errors.
    Could you throw more light on the difference it would make if i defined hierarchies for all the dimensions.

  • Automator: Create folder with name and subfolders in it.

    Hello everyone, my question is related to Automator. I work in a company where we have a huge server. Every time a new job comes in it gets a six digits number and a folder with 5/6 subfolder needs to be created. The main folder will be xxxxxx_nameofbrand and will contain 5 subfolder each one of them starting with the six digit number assigned initially followed by 5 tags (always the same ones).
    Everytime it's a long thing to create it manually and copy and paste every number and name, so I thought I could use automator to do it easilly but I always get stucked at the part where I want the 5 subfolder to go in the main one. This is what I had done, but I'm pretty sure there is a faster/easier way to do it.. I'm really new to automator, I know it's potential but don't know how to use it very well..
    I thank you all for the help.

    For this kind of exception, you can just add a Run AppleScript action at the end of the workflow - for example, the following will rename all folders ending with the specified name that are at the specified depth in the structure:
    on run {input, parameters} # remove prefix from folder name
      set sourceFolder to quoted form of POSIX path of (input as text)
      set exceptionName to "Links" # will find a name ending with this (case sensitive match)
      set exceptionDepth to 2 # at a folder depth of this
      set theFolders to (do shell script "find " & sourceFolder & " -name " & quoted form of ("*" & exceptionName) & " -depth " & exceptionDepth)
      repeat with anItem in paragraphs of theFolders # rename without prefix
        tell application "System Events" to set name of folder anItem to exceptionName
      end repeat
      return input
    end run

  • Link to folder with user and password

    Hi all!
    From my action I want to redirect to a file in order to download it but the problem is that this file is in a web folder with user/password
    How can I redirect to it to downlad it directly without introducing user and password manually by the customer?
    Thanks!
    T

    Do you understand where this user/password restriction comes from? It look like just a HTTP based authentication. A Servlet can access the local file system directly without issueing a new HTTP request for that. Or is that file located at another server?

  • Filter Data with Merged and non merged columns in one

    Hi there,
    I have an excel spreadsheet that has got merged and non merged columns. What I want to be able to do is, filter a row that has got merged column and non merged columns. But when I filter it only takes the first line, rather than the merged and non merged
    columns.
    With this data I have one merged column which spans 6 rows, and then in the same row I have 6 rows with different points in, and what I want to do is filter my list, but be able to see the merged coloum aswell as the 6 points.
    Any ideas are much appriciated.
    Cheers
    SAN

    You cannot filter across a row - so I have assumed that what you mean is that some cells in columns are merged to serve as the headers, and the data is in the came columns but in the row(s) below the header. If this is incorrect, ignore this post.
    For this example, I have assumed E to J are the column of data and merged cells, column K is free, and the first merged header is in row 1:
    In K1, enter
    =E1
    in K2, enter
    =IF(COUNTA(E2:J2)=1,E2,K1)
    and copy down. Then filter based on column K, and it will show the headers and the data for the selected header value.
    HTH, Bernie

  • Service PO's with tax and Non servie pos without tax

    Hi,
    In my present process.For service (ME21N)PO'S withholdingtax is calculated and for non service PO's there is no withholdingtax  calculated.
    In standard sap PO's.Tax will be calculated for both service POS and non service PO's.
    Can any guide me where the coding is done by which the system is calculating tax on service pos and no tax calculated on material pos.
    It will be great help.if you can through some light.
    Thanks
    Hagi

    Hi,
    With respect to WHT, vendors can be classified into three categories
    1) Service Vendors (subject to WHT)
    2) Material Vendors (not subject to WHT)
    3) Mixed vendors (WHT is applicable on services only)
    Identifying the type of vendor needs the data from business only.  There is no specific indication in SAP.  In case of 1 & 2 type vendors there is no problem.  Problem with type 3 vendors.  Since WHT keys are updated at vendor level, during IV system withhelds the tax amount on entire invoice which is wrong since materials may also be there in that invoice.  For this there is no standard solution by SAP.
    We need to further identify vendors based on supplies with both services and materials. If the % of services & materials combination is more, it is better to create two seperate vendors for the same vendor, one as service vendor and another as material vendor and ask the vendor to give seperate invoices for services and materials.  If it is very less %, while posting invoices just change the base amount against the WHT keys.  This is the practice we implemented for our client.
    regards,
    mallik

  • Question Regarding Mesh with 3702 and non AC ap´s

    Hello! 
    quick question regarding MESH deployments with 2 different sorts of AP´s: AC and non-AC modells: If my 3702i is my root AP´s, and 3602i my MAP - will AC still work in 80Mhz, or will I have to switch to 40mhz (and thus crippling (???) AC performance?) 
    Not 100% sure on this... I *think* it should still work for the normal 802.11n connection, but I´m not sure if the 80mhz channel width (needed??) for AC, will cause the non-ac 3602i to be stranded? 
    Thanks alot for your insight! 

    Currently, my network DHCP server is a software based DHCP server. In reading over your post if I understood correctly it sounds like the managed switch would have its own hardware based DHCP server to assign IP addresses to those clients identified on the "external" VLAN. Did I understand that correctly or did misread something?
    DHCP server will be software based, even though you defined it on your switch, it is DHCP service running on its OS.
    I am configuring this setup for a small business application and will need to purchase a managed switch with 16 or 24 ports. Do you have any recommendations on a particular managed switch that will handle the VLAN configuration and include POE while keeping costs in mind.
    In this forum, most of us discussed about Cisco enterprise grade wireless. Here is 2960X series switch detail, if you are interested
    http://www.cisco.com/c/en/us/products/switches/catalyst-2960-x-series-switches/index.html
    You may need to check the pricing with your Cisco account manager or from a Cisco partner.
    HTH
    Rasika
    **** Pls rate all useful responses ****

Maybe you are looking for

  • Itunes wont load on my pc

    my itunes wont load on my new laptop

  • Are there different formats for the iBooks reader?

    I created a picture book, but when it's opened in iBooks, it displays each page as a small image on the "pages" of the book. I opened my file in Cloud Reader (for comic books) and it's displayed perfectly, with the pages filling up the screen. Can iB

  • PO PRICES PICKED AS DEFAULT FROM

    Sir, Ply help me in the following Setting done for Picking Prices in PO. I want to know whether while making PO prices are picked from inforecord or from last po. where can i find these setting. regards amey

  • Workflow bulider changed ,still the same workflow  triggered for older requ

    On applyig leave request  a workflow is triggered and notification is sent to the Manager he approves it Everything is fine Now I have changed the workflow builder That after the approval, a task(Step) has to be performed.so I added a step for that N

  • How to activate Classic on 10.4.11

    Just got 10.4.7 and installed and upgraded to 10.4.11 OK. Loaded a lot of applications OK. Now I need to run an old application under Classic. Cannot use my 10.4.7 install disk as I'm now on 10.4.11. I have copied a valid 9.2 system file across (one