[Linuxtrent] Re: bash find e source

  • From: Gino Perna <gino@xxxxxxxxxxxx>
  • To: linuxtrent@xxxxxxxxxxxxx
  • Date: Tue, 8 May 2012 19:10:34 +0200

On Tue, May 08, 2012 at 06:44:33PM +0200, Mauro Colorio wrote:
> Ho uno script in bash che dovrebbe eseguire con source tutti gli
> script che trova in una cartella "custom"
> 
> find $BKPPATH/custom/ -type f -exec echo {} \; -exec source {} \;
usa sh -c 'command'
dove dentro command metti l'echo ed il . nome file



gino

-- 
Per iscriversi  (o disiscriversi), basta spedire un  messaggio con OGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx


Other related posts: