Joerg Schilling <[EMAIL PROTECTED]> wrote:
> > find . -type d -exec test -r {}/FILENAME \; -prune -o -print |
> > tar --no-recursion -cf archive.tar -T -
>
> This does not work.....
It works for me. -exec returns true or false regarding on whether
FILENAME is present in the directory, and -prune makes find to not
descend into that directory.
> find . -type d -exec echo {}/FILENAME \;
>
> will print a "{}/FILENAME" for each directory.
The `echo' command has nothing to do with our question.
Regards,
Sergey