PDA

View Full Version : Select all folders (and files within) containing file(s) of a given type


chrisjj
13-Oct-2009, 05:10 AM
To select all folders (and files within) containing file(s) of a given type, can anyone suggest a simpler procedure than http://wiki.tango.info/w/mul/index.php?title=BC_operations&section=1 ? Thanks.

Lutz
20-Oct-2009, 01:18 AM
Select all folders (and files within) containing file(s) of a given type


Click Session | New Session | Folder Compare
Click left side Browse for Folder and select your source root folder
Click View | Only compare files
In Filters: type e.g. *.WAV
Click Edit | Expand All, then Edit | Collapse All
Click Edit | Select All, then Actions | Exclude
Click Session | Session Settings | Name Filters
Select all Exclude Folders text and cut, select all Include folders text and paste, and click OK.
Click Edit | Select All

For me the work is done with Step 6, 1st half (Click Edit | Select All)!

I think the title is misleading and the author wants to set up a BC session with only those top-level subfolders included.
As I remember correctly, an include-action is already on the wishlist.

chrisjj
20-Oct-2009, 04:08 AM
> For me the work is done with Step 6, 1st half (Click Edit | Select All)!

Thanks, but please confirm for you that selects all the files within

Because for me it does not.

> I think the title is misleading and the author wants to
> set up a BC session with only those top-level subfolders included.

No. I want to select the specified folders and the files within.

Aaron
20-Oct-2009, 10:24 AM
BC3 treats folder selection differently than BC2. Depending on the action you are taking on the file, you should not need any of the above steps.

Simply set your filter to be *.WAV. Then Select the Folders you want to interact with. For example, a copy command on those folders will copy the folders and only the *.WAV files inside. The dialog will present a Peek option and an Include Filtered Items option, if you want to copy the whole folder, and not just the *.WAV files.

What action do you want to perform on the selection?

chrisjj
20-Oct-2009, 11:12 AM
> Depending on the action you are taking on the
> file, you should not need any of the above steps.

That dependence is the problem that's overcome by making a true selection.

> For example, a copy command ... will present ... an Include Filtered Items
> option

And for example a Touch command will not. Hecne the need for a true selection.

Aaron
20-Oct-2009, 03:03 PM
>
And for example a Touch command will not. Hecne the need for a true selection.

The Touch command does have the option "Include folder contents" along with the Peek button and "Include hidden items in operation" option. If you are running into an issue, please let us know more precisely what it is you are trying to do and we can help.

chrisjj
20-Oct-2009, 03:16 PM
> "Include hidden items in operation" option.

Where? I see only:

http://img63.imageshack.us/img63/7129/picxm.th.png (http://img63.imageshack.us/img63/7129/picxm.png)

Aaron
20-Oct-2009, 03:25 PM
> "Include hidden items in operation" option.

Where? I see only:

http://img63.imageshack.us/img63/7129/picxm.th.png (http://img63.imageshack.us/img63/7129/picxm.png)

You have to check the "Include Folder Contents" box. Once you've included the contents, the option will present itself if some of those contents are currently affected by filters. You have to have a filter set, and that filter has to affect files inside of the folder.

chrisjj
20-Oct-2009, 04:24 PM
> You have to check the "Include Folder Contents" box.

Aha. I must say that's not easy to guess, esp. given the inconsistency with Copy, Move etc.

I think it would be better to always show the additional options, with availability control instead by enable/disable. This would be more consistent with Windows UI generally, other places in BC, and indeed in the same dialog - (*) Set timestamps to -->

Thanks for the information.