shimi
Wed, 18 May 2005 10:07:45 -0700
On Wed, 2005-05-18 at 08:13 +0300, Aaron wrote: > Hi again, > thanks for the help, all the methods seem to work for a single file. > > how would I iterate this for a whole directory? > Thanks > Aaron > for i in /path/to/dir/*; do cat header $i > $i.tmp && mv $i.tmp $i; done -- shimi <[EMAIL PROTECTED]> ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]