[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] CP com lista de arquivos
From: |
Flavio Torres |
Subject: |
Re: [shell-script] CP com lista de arquivos |
Date: |
Thu, 26 Oct 2006 15:28:31 -0300 |
User-agent: |
Thunderbird 1.5.0.7 (Windows/20060909) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andre Campos escreveu:
> Boa tarde amigos,
>
> Tem como executar copiar arquivos apotando uma determinada lista??
>
> cp lista_de_arquivos.txt /diretorio , algo assim..
sim, utilize o for....
for i in $(cat lista);do cp "$i" /destino;done
- --
[]'s
Flavio Torres - Administrador de Sistemas
____________________________________________________________________
PGP/GPG: KeyID 0x7720DBDE
http://www.digitalinfo.com.br/gpg/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
iD8DBQFFQP5ONRQApncg294RAsh4AJ9yVwXnWYbNkTsp4ePO8K4ukiPeQgCaA0n8
BUE/bTdWECsU+za2Dx4Jguk=
=Tp8s
-----END PGP SIGNATURE-----