{"id":11,"date":"2013-09-10T14:45:00","date_gmt":"2013-09-10T14:45:00","guid":{"rendered":"http:\/\/ibcloud.com.br\/blog\/find-pelo-conteudo-do-arquivo\/"},"modified":"2014-05-13T02:44:51","modified_gmt":"2014-05-13T02:44:51","slug":"find-pelo-conteudo-do-arquivo","status":"publish","type":"post","link":"https:\/\/humanizati.com.br\/blog\/2013\/09\/10\/find-pelo-conteudo-do-arquivo\/","title":{"rendered":"Find pelo conte\u00fado do arquivo"},"content":{"rendered":"<p><span style=\"color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: x-small;\"><span style=\"line-height: 18px;\">Segue dois comandos para pesquisar arquivos com FIND no Linux de forma bem pr\u00e1tica.<\/span><\/span><\/p>\n<div><span style=\"color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: x-small;\"><span style=\"line-height: 18px;\"><br \/><\/span><\/span><\/div>\n<div><span style=\"background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;\">find \/ | xargs grep -s -a -i o_que_procura | cut -d : -f 1&nbsp;<\/span><span style=\"background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;\">| uniq<\/span><\/div>\n<div><span style=\"background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;\"><br \/><\/span><\/div>\n<div><span style=\"background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;\">outro mais geralz\u00e3o<\/span><\/div>\n<div><span style=\"background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;\"><br \/><\/span><\/div>\n<div><span style=\"background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;\">find \/ | xargs grep -s -a -i o_que_procura | uniq<\/span><\/div>\n<div><span style=\"background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;\"><br \/><\/span><\/div>\n<div><span style=\"background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;\">O primeiro comando \u00e9 mais espec\u00edfico e tr\u00e1s menos sujeira, o segundo j\u00e1 \u00e9 mais geralz\u00e3o, ou seja pode trazer mais sujeira.<\/span><\/div>\n<div><span style=\"background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;\"><br \/><\/span><\/div>\n<div><span style=\"background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;\">Fica a dica!<\/span><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Segue dois comandos para pesquisar arquivos com FIND no Linux de forma bem pr\u00e1tica. find \/ | xargs grep -s -a -i o_que_procura | cut&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10,11],"class_list":["post-11","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-find-conteudo-arquivo","tag-find-por-conteudo-linux"],"_links":{"self":[{"href":"https:\/\/humanizati.com.br\/blog\/wp-json\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/humanizati.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/humanizati.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/humanizati.com.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/humanizati.com.br\/blog\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":1,"href":"https:\/\/humanizati.com.br\/blog\/wp-json\/wp\/v2\/posts\/11\/revisions"}],"predecessor-version":[{"id":71,"href":"https:\/\/humanizati.com.br\/blog\/wp-json\/wp\/v2\/posts\/11\/revisions\/71"}],"wp:attachment":[{"href":"https:\/\/humanizati.com.br\/blog\/wp-json\/wp\/v2\/media?parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/humanizati.com.br\/blog\/wp-json\/wp\/v2\/categories?post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/humanizati.com.br\/blog\/wp-json\/wp\/v2\/tags?post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}