Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!well!tmh From: tmh@well.UUCP (Todd M. Hoff) Newsgroups: comp.unix.questions Subject: Find doesn't expand {} Message-ID: <12502@well.UUCP> Date: 1 Jul 89 01:05:57 GMT Reply-To: tmh@well.UUCP (Todd M. Hoff) Distribution: all Organization: Whole Earth 'Lectronic Link, Sausalito, CA Lines: 11 Why doesn't this work: find . -type d -print -exec mkdir /xx/yy/zz/{} \; The '{}' doesn't expand out to the filename like you might expect. Yet this does work: find . -exec ls {} \;. '{} expands to the filenames and the files are listed. Why the difference? Config: RTs running BSD 4.3.