2000-04-04-12:37:56 Jim Toth:
> Assuming you have gnu find:
> mailboxes `find ~/Mail ! -name sent -type f -printf '%p ' | sed
>   's?/home/jtoth/?=?g'`

If you use Maildirs you don't want to be recursing; that's easy to
do with GNU find. And if you're using GNU find, you can lose the sed
altogether, just put whatever static text you want into the printf,
and lose the constant prefix ~/Mail by switching from %p to %P. So
for instance I might start with

        find Mail -maxdepth 1 -printf '=%P\n'

-Bennett

PGP signature

Reply via email to