Results 1 to 4 of 4

Thread: how to save the result of search

  1. #1
    ztting0923 is offline Active Member
    Join Date
    Mar 2008
    Posts
    27
    Rep Power
    7

    Default how to save the result of search

    Hello:

    I have a problem that I want to ask your help;

    when I use zmmailbox ,I want to save the result of search to a file;

    Like this :

    $zmmailbox
    > aa admin ******
    > sm user1@domain.com
    *****************************
    > s -t message in:junk
    *********

    ********************************

    (* means the content of output)

    Now I want to know How can I save the result of " s -t message in:junk ";Or how can I let the result output to a file?

    Thank you !

  2. #2
    webman's Avatar
    webman is offline Special Member
    Join Date
    Oct 2007
    Location
    North East England
    Posts
    167
    Rep Power
    7

    Default

    You can do that in one line by running:

    Code:
    zmmailbox -z -m user1@domain s -t message in:junk
    which means you can use standard redirection to send it to a file:

    Code:
    zmmailbox -z -m user1@domain s -t message in:junk > /tmp/junk-search.txt
    Run zmmailbox --help for other command-line switches or see Zmmailbox - Zimbra :: Wiki.
    Craig Rodway » Flickr | Last.fm | Del.icio.us | Twitter

  3. #3
    ztting0923 is offline Active Member
    Join Date
    Mar 2008
    Posts
    27
    Rep Power
    7

    Default

    Thank you for your answer ;I know it can save the result ;But I want to save when use my method ;I think another way for this .Thank you very much.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,585
    Rep Power
    57

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. search vs. searchConv
    By DarthJader in forum Developers
    Replies: 0
    Last Post: 05-30-2008, 02:26 PM
  2. Can not access admin console after 5.0.2 upgrade
    By wolrah in forum Administrators
    Replies: 22
    Last Post: 02-28-2008, 09:34 PM
  3. external authentication returns empty search
    By Nikos Lyberakis in forum Installation
    Replies: 1
    Last Post: 02-19-2008, 03:44 PM
  4. Replies: 2
    Last Post: 01-22-2008, 12:42 PM
  5. [SOLVED] Unable to save advanced search in ZCS5
    By turnbulm in forum Administrators
    Replies: 3
    Last Post: 01-07-2008, 04:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •