shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] Verificar arquivo na Internet


From: Otávio Fernandes
Subject: Re: [shell-script] Verificar arquivo na Internet
Date: Thu, 21 Feb 2008 17:02:59 -0300

2008/2/21 Fabiano Caixeta Duarte <address@hidden>:
>
>
>
>
>
>
> Leandro Ferreira escreveu:
>
>  > Pessoal,
>  >
>  > Preciso verificar se um arquivo que esta em um site ex:
>  > www.meusite.com/teste.gz é diferente do meu arquivo teste.gz que esta
>  > local na minha máquina.
>  > Há alguma forma de verificar sem ter que baixa-lo novamente?
>  >
>  > Att,
>  >
>
>  Não tenho certeza, mas penso que wget -r resolva.
>
>  --
>  Fabiano Caixeta Duarte
>  Especialista em Redes de Computadores
>  Linux User #195299
>  Ribeirão Preto - SP
>  

Vc queria dizer wget -c, ou -nc neh:

  -nc, --no-clobber              skip downloads that would download to
                                 existing files.
  -c,  --continue                resume getting a partially-downloaded file.

um abraco,

-- 
 | --
 | Otávio Fernandes < otaviof | gmail | com >
 | FreeBSD 7.0-PRERELEASE && GNU/Linux User: 283.396
 | (( Especial Programação )) http://geekbr.podcastbrasil.com/ -- 0.15
 | --


reply via email to

[Prev in Thread] Current Thread [Next in Thread]