"File Compare" invertido

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ccmancio
    Old Hand
    • May 2005
    • 235

    "File Compare" invertido

    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
    Veteran
    • Oct 2007
    • 356

    #2
    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)?
    Last edited by Lutz; 30-Dec-2010, 07:09 AM.

    Comment

    • ccmancio
      Old Hand
      • May 2005
      • 235

      #3
      Nao funcionou

      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.

      Comment

      • Lutz
        Veteran
        • Oct 2007
        • 356

        #4
        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:
        1. My task: to find mp3-albums without album art (jpg)
        2. display filters Show All & Only Compare Files
        3. load music-folder only
        4. expand all
        5. File Filter *.jpg
        6. select all (folders and files)
        7. Exclude
        8. open Session Settings/Name Filters tab
        9. clear Exclude files list
        10. copy Exclude folders list (312 lines here) to an editor (Tools/Edit Text File)
        11. remove all parent folders of album folders (genre/abc/album artist here)
        12. copy the new list back to Exclude Folders

        Greetings Lutz

        Comment

        • Aaron
          Team Scooter
          • Oct 2007
          • 16000

          #5
          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.
          Aaron P Scooter Software

          Comment

          • ccmancio
            Old Hand
            • May 2005
            • 235

            #6
            Funcionou (quase)

            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 !!!

            Comment

            • Aaron
              Team Scooter
              • Oct 2007
              • 16000

              #7
              Thanks for the suggestion, ccmancio. I'll add it to our Customer Wishlist.
              Aaron P Scooter Software

              Comment

              • Lutz
                Veteran
                • Oct 2007
                • 356

                #8
                Workaround B (less steps and less done by hand)
                1. My task: to find mp3-albums without album art (jpg)
                2. display filters Show All & Only Compare Files
                3. load music-folder only
                4. expand all
                5. File Filter *.jpg
                6. select all files
                7. exclude (only in this folder checked)
                8. move Exclude files list to the editor (Tools/Edit Text File)
                9. replace filenames by nothing (RegEx "\\[^\\]+.jpg" -> "")
                10. move the new list back to Exclude Folders

                Greetings Lutz

                Comment

                Working...