Recentemente, um colega de equipe me disse: “Nós costumávamos usar a frase XYZ, mas a excluímos em algum momento. Você sabe onde a usamos e quando a excluímos?”
Até onde eu sei, não há como fazer esse tipo de busca dentro do Paratext. Por favor, corrija-me se eu estiver errado – adoraria saber como fazer!
Depois de algumas tentativas e erros, consegui descobrir como fazer isso externamente usando as ferramentas hg Mercurial. A partir da raiz da pasta do projeto, execute o comando
hg grep --all -I '*.SFM' 'XYZ'
Onde --all significa “buscar em todas as revisões”, -I '*.SFM' significa “procurar apenas nos arquivos com a extensão .SFM” e o termo de busca é XYZ.
Se XYZ for ascii, consegui fazer a busca funcionar no Windows. Para buscar por unicode, a única maneira que consegui fazer funcionar foi executar a ferramenta dentro do Linux.
Recently a teammate said to me, “We used to use the phrase XYZ, but deleted it at some point. Do you know where we used it, and when we deleted it?”
To the best of my knowledge there is no way to do such a search inside of Paratext. Please correct me if I’m wrong–I’d love to know how to!
After a bit of trial and error, I was able to figure out how to do it externally using the hg Mercurial tools. From the root of the project folder, run the command
hg grep --all -I '*.SFM' 'XYZ'
Where --all means “search all of the revisions”, -I '*.SFM' means “only look in the files with .SFM endings”, and your search term is XYZ.
If XYZ is ascii, I was able to get the search to work in Windows. To search for unicode the only way I could get it to work was to run the tool inside of Linux.
Tradução automática de English