31 Jul 21:48
recurse up
From: Anthony Fletcher <arif <at> dcb.cit.nih.gov>
Subject: recurse up
Newsgroups: gmane.comp.shells.zsh.devel
Date: 2008-07-31 19:50:50 GMT
Expires: This article expires on 2008-08-14
Subject: recurse up
Newsgroups: gmane.comp.shells.zsh.devel
Date: 2008-07-31 19:50:50 GMT
Expires: This article expires on 2008-08-14
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.
RSS Feed