Erich Schubert wrote: > A minute ago I didn't need "dirempty", but "exists 'foo/*.bar'" > test -e "foo" works fine if you have the filename. If you have wildcards > it gets a bit more complicated. IMHO it would be good to have a > convenience command for this instead of using some shell magic with test > and ls.
Hmm, and dirempty is just ! exists foo/* && ! exists foo/.* , right? -- see shy jo
signature.asc
Description: Digital signature