Descrição
############# PROC 1.0 #############
Sua funcionalidade é procurar arquivos em todas as pasta do sistema e salvar uma cópia da pesquisa em um arquivo txt.
: D Espero que gostem.
[ Download:
proc1.0 ]
[
Enviar nova versão ]
[ Esconder código-fonte ]
#!/bin/bash
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
echo
echo "### Desenvolvido por Diego Rocha M. ###"
echo
echo " :: Script para procurar arquivos :: - É recomendado executa-lo como root"
echo
echo "Digite o nome do arquivo que desejar procura-lo: "
read pro
echo "Procurando.........."
find / -name $pro -print
find / -name $pro -print> resultados.txt
echo
echo "####### Verificação Concluída #######"
echo "Todos os arquivos com o nome $pro estam listados acima"
echo "Precione enter para continuar...."
read
echo
echo "Os resultados da pesquisa estam salvos em um arquivo txt - Com Título > resultados.txt no diretório atual do script:"
echo
pwd
echo
echo "Precione enter para analisar os resultados da pesquisa atual"
read
kedit resultados.txt
Scripts recomendados
Manutenção de Usuários Proxy Autenticado com NCSA
Script para embutir legenda.
Tratamento de zeros a esquerda
DHCP
squid_acl
Comentários
| Nenhum comentário foi encontrado. |