-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
В Sun, 04 Jan 2015 12:34:53 +0200
"I.Petrov"
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
Actually I didn't know that the asterisks can be used for highlighting in the mailing list. Anyway, the asterisks (at least this in front of the directory name e.g. *cur) are *required* in the command line in order the directories to be omitted.
That's true, because you used -path. But if you want to match every directory nameed "cur" using -name is more simple (and probably slightly more efficient). -path is usually useful when you want to match one specific instance of given name only. Sorry for the confusion.
Best Regards, I.Petrov
On 01/04/2015 04:55 AM, Carlos E. R. wrote:
On 2015-01-03 18:26, Per Jessen wrote:
Hylton Conacher (ZR1HPC) wrote:
Hi,
On 03/01/15 02:19, I.Petrov wrote:
Hello,
The command in your case should be:
find $HOME/Maildir -type d -path *cur* -prune -o -path *new* -prune -o -path *tmp* -prune -o -path *courierimapkeywords* -prune -o -print
This command is another way to do it but I am unsure of the wildcard characters(*) you have used
Those aren't wildcards, they're for highlighting.
Oh my.
One should never do that on text that is not text, but a command line example. It confuses things.
Anyway, the command does not work, it finds files inside those paths. Not only the master folders.
cer@Telcontar:~> find $HOME/Mail/maildir/ -type d -path cur -prune -o -path new -prune -o -path tmp -prune -o -path courierimapkeywords -prune -o -print /home/cer/Mail/maildir/ /home/cer/Mail/maildir/new /home/cer/Mail/maildir/new/1415018721.19713_2.Telcontar /home/cer/Mail/maildir/new/1415176204.20175_2.Telcontar
The mails of the "new" directory should not be displayed.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBAgAGBQJUqRdNAAoJEH8sJoKRFRU5760P/2yx0cTrhgj/tbizU0+xHE62 P3+XzKm2Y38I7b4uIwGFUInZ/dYcId4HNh+VBlhyJIXCrAmJS5prN5mu/ToECuIl w6q4qhSuspkdVGK3H/6VIktZal5K1KfAMq4wws2ZM5ody69ICtROUeimntYdqfdi 8rxok1eBnBQO1pTwkNu4i+UIr4VKFcPebjHQsXz83MSwKViFMX8FMsXOfuBGE1rP L660zIhWs3QxeUmwnnKZItOmDvLVVKuHBvH0T3TAwFy8c2ju1Bzf+lDSpNize2Oy sH3elVO1L2J6ZLOM4SQ6RsjIXCM43Tiv9Zcbtwi2Bh1e9WgP8gUOu5g4x7Sucm2J cLUxF7GGxF1lF65oEhVp+In1jv6Z5ixg8yp4HewdFT7c9mGpqD8bXr77yPwBqn8B 7xUOmGJNo+PcWTxK1b1A01nQiQQ0qj+cD8nlhLT+jYORFhP4lHPLm7WeRjc6YWvA wtzrCDBdLwJLVI7JaCP6idCxBC21gJZrsiP9FzDfppJUA7hE+8QROTPFsoU0EFrt UmFD8p7HKvxRPNKOEJYQCpCro9YXZP0TVV7GoqNHMIslgDpqIc8OtBCcfRpwbmln PLgnHHzsppZQruavzlNhUkx09gwHPaHnPJKw8ZdAyfMnia4D6aFMoR27l14huk6m DOP8T0CBSDXNxxiRwqYa =SGXF -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlSpOxsACgkQR6LMutpd94xr1wCgh5qaxdNVmu62BaPxsqo3O9bK bhoAn1Qg2ei1QWeDtLLsAAmt4YWGABXI =6tvF -----END PGP SIGNATURE-----