Re: [Hampshire] Executing a command on a list of files?

Inizio della pagina
Autore: Andy Smith
Data:  
To: hampshire
Oggetto: Re: [Hampshire] Executing a command on a list of files?

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x57a31100.hantslug.org.uk.28023': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: verify signatures failed: Unknown system error
On Wed, Feb 21, 2007 at 08:42:04PM -0500, Andy Random wrote:
>
> Hi,
>
> I have several files which contain lists of files that I want to execute a
> command on.


for f in $(cat /some/list ./of/many ./files); do whatever_comand $f; done

Cheers,
Andy