View Full Version : "File Compare" invertido
ccmancio
30-Dec-2010, 05:19 AM
Como faço para listar no "File Compare" todos os diretórios que "NÃO" contenham arquivos com "xyz"(por exemplo) no nome do arquivo(ou extensão) no diretório.
Lutz
30-Dec-2010, 05:40 AM
Just put .../*xyz* in Session Settings/Name Filters-tab/Exclude Folders-section
or
-.../*n*\ into the File Filters-toolbar/Filters-combo box.
Greetings Lutz
PS: Are you in Portugal or in Brazil (just for time differences)?
ccmancio
04-Jan-2011, 06:57 AM
Não funcionou sua resposta
Tenho uma pasta (Pasta1) com os arquivos (Arq1.txt e Arq2.txt)
Tenho uma segunda pasta (Pasta2) com o arquivo Arq2.txt
Desejo que o "Folder Compare" mostre todas as pastas que não contenham "Arq1" no nome do arquivo
O resultado deveria aparecer somente a Pasta2 na "Folder compare"
Mas esta aparecendo as duas pastas e todos os arquivos
Sou do Brasil.
Lutz
04-Jan-2011, 10:46 AM
Sometimes it's useful to use a translation service. I haven't thought that arquivos are files. So sorry for my wrong advice.
It is not possible (yet) with BC3 to exclude folders by the presence of specific files.
But I played around with this and got a workaround:
My task: to find mp3-albums without album art (jpg)
display filters Show All & Only Compare Files
load music-folder only
expand all
File Filter *.jpg
select all (folders and files)
Exclude
open Session Settings/Name Filters tab
clear Exclude files list
copy Exclude folders list (312 lines here) to an editor (Tools/Edit Text File)
remove all parent folders of album folders (genre/abc/album artist here)
copy the new list back to Exclude Folders
Greetings Lutz
Aaron
04-Jan-2011, 01:16 PM
Thanks for the workaround, Lutz. This is what I would recommend as well. Use filters to show the files and folders you want to hide, then Exclude them in the session settings.
When you refresh the session, you will see all of your content again, minus your Excluded items.
ccmancio
06-Jan-2011, 06:20 AM
Definindo até "clear Exclude files list" e depois retirando o "filtro de arquivos" eu consigo obter a relacao de pastas que eu quero, isto é, as pastas que não contenham determinado arquivo
Só que, cada vez que quizer fazer o levantamento novamente, tenho que repetir todo o processo.
Espero que BC3 consiga criar esta nova função logo.
Obrigado !!!
Aaron
06-Jan-2011, 10:18 AM
Thanks for the suggestion, ccmancio. I'll add it to our Customer Wishlist.
Lutz
09-Jan-2011, 12:38 AM
Workaround B (less steps and less done by hand)
My task: to find mp3-albums without album art (jpg)
display filters Show All & Only Compare Files
load music-folder only
expand all
File Filter *.jpg
select all files
exclude (only in this folder checked)
move Exclude files list to the editor (Tools/Edit Text File)
replace filenames by nothing (RegEx "\\[^\\]+.jpg" -> "")
move the new list back to Exclude Folders
Greetings Lutz
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.