Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
recurse up
- X-seq: zsh-users 13078
- From: Anthony Fletcher <arif@xxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: recurse up
- Date: Thu, 31 Jul 2008 15:50:50 -0400
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
One can find files that live below the current directory via
ls **/README
but how can one look for files in the parent, grand-parent, ...
directories?
For example, suppose that the file /a/README exists and the current
directory is /a/b/c/d/e. Then, I'd like
ls .../README
to glob expand to ../../../README.
Any suggestions?
Anthony.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author