3 Replies Latest reply on Dec 26, 2014 5:02 PM by rishabh kshirsagar

    Browse Empty Depot Folders - Blcli

      Hi All,

       

      We are looking for a way to Browse all the empty depot folders present inside a Depot Path (multilevel folder search) and delete them.

       

      Right now are browsing all the DBkeys of Depot Objects inside a Depot path.

      Code to browse all the Dbkeys of Depot Ojects from a Depot Path we are using currently.

      #####################################################

        blcli_execute DepotGroup groupNameToId ${depot_path}

        blcli_storeenv depot_grpid

        blcli_execute DepotObject findAllByGroup $depot_grpid true

        blcli_execute DepotObject getDBKey

        blcli_execute Utility setTargetObject

        blcli_execute Utility listPrint

        blcli_storeenv dbkey_list

      #######################################################

       

      So these Empty folders are getting excluded from the search criteria.

      Please suggest is there any way to accomplish this?

       

      Regards,

      Rishabh