Results 1 to 6 of 6
  1. #1
    Join Date
    May 2016
    Posts
    149

    Default Automatically remove emtpy folders?

    Is there a function to generally automatically remove emtpy folders?

    And / or an option to let BC do it after moving files from one side to the other leaving empty folders on the source side?
    Windows 10 Version 6.2 (Build 9200) Home, 64bit

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,618

    Default

    Hello,

    Thanks for the feedback. We don't have the ability to select empty folders, but it is something on our wishlist. We do have this command in scripting, if you wanted to use a script to perform this action to select empty.folders then delete the selection.
    Aaron P Scooter Software

  3. #3
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,618

    Default

    Also, the View menu -> Only Show Files will remove empty folders from view (either actually empty, or if all items are filtered out), but does not delete them.
    Aaron P Scooter Software

  4. #4
    Join Date
    May 2016
    Posts
    149

    Default

    Hello Aaron,

    Many thanks!

    We do have this command in scripting, if you wanted to use a script to perform this action to select empty.folders then delete the selection.
    Sorry, I do not understand that at all.

    Also, the View menu -> Only Show Files will remove empty folders from view (either actually empty, or if all items are filtered out), but does not delete them.
    Alright, I would like to remove them physically.

    Many thanks again
    Windows 10 Version 6.2 (Build 9200) Home, 64bit

  5. #5
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,618

    Default

    Beyond Compare scripting is documented in the Help file (F1), Using Beyond Compare -> Scripting chapter. It is a text file and command line that can call BC4 in an automated mode that executes the code in the text file. This can perform a series of commands, one of which is select empty.folders.

    Scripting offers no graphical interface and no preview of what it is about to do. We also do not support an Undo. I would suggest testing with test folders first while learning how script works if this is a solution you'd like to pursue.
    Aaron P Scooter Software

  6. #6
    Join Date
    May 2016
    Posts
    149

    Default

    Ah yes, I understand.

    Yes, testing would be very useful indeed, looks quite complicated. I guess, I rather will leave this scripting part for now.

    Many thanks
    Windows 10 Version 6.2 (Build 9200) Home, 64bit

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •