10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I have a log file which contains lines like below:
2010-07-19 07:13:19,021 ERROR system ...(text)
2010-07-19 07:22:03,427 ERROR system ...(text)
class com... (text)
2010-07-19 07:23:19,026 ERROR system ...(text)
class com... (text)
each line is a separate line... I am given the a... (11 Replies)
Discussion started by: a27wang
11 Replies
2. Post Here to Contact Site Administrators and Moderators
I would like to propose to change the display of dates in the postings, which is currently mm-dd-yy. To avoid ambiguity, I would like to propose dd-Mmm-yyyy. Thank you for your anticipated consideration. (5 Replies)
Discussion started by: figaro
5 Replies
3. Post Here to Contact Site Administrators and Moderators
My post count is probably inflated by something like 20% over the last few days, because the site often posts my reply twice when the load is high. Is there something I can do to avoid this? Is there something I should be doing to notify site administrators about the duplicates? I could click on... (9 Replies)
Discussion started by: era
9 Replies
4. UNIX for Advanced & Expert Users
Hi,
We are using RSYNC for syncing remote directories and working great. Our requirement is to have the destination files with date/time stamp of when they're copied on to the destination server, NOT the date/time stamps of source files/directories.
As RSYNC, by default, preserving the same... (4 Replies)
Discussion started by: prvnrk
4 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I need to zip the list of files using from date Stamp to end date Stamp, How can I filter and make FromDate_EndDate.gzip?
any idea? (1 Reply)
Discussion started by: redlotus72
1 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
Wondering if there is have a date added at the end of a test string. I have a hypothetical text file day one:
John
Paul
George
When the file day one is output, I'd like it to read something like this:
John 101406
Paul 101406
George 101406
Day two, when the same text file... (0 Replies)
Discussion started by: JimmyFlip
0 Replies
7. Shell Programming and Scripting
Dear Gurus,
I'm trying to move a number of files from one directory to another directory with a new date stamp. This is my script:
#! /bin/csh
Today_Date=`date +%Y%M%D`
mv /usr/TRS/data/TS* /usr/TRS/backup/TS*.${Today_Date}
when i run the script i'm getting the following errors:
mv:... (14 Replies)
Discussion started by: lweegp
14 Replies
8. Shell Programming and Scripting
I need to move files after midnight but attach the previous date to it.
Moving files before midnight no proproblem but how can I move files which are created on the 22nd for example but add a date stamp of previous day?
Date ='date +"Y%m%d"' gets today's date but how can I get yesterday's... (3 Replies)
Discussion started by: candle_66
3 Replies
9. Shell Programming and Scripting
I'm trying to write a script that checks the DTS of a file the compares it to the current time. If greater that 60 mins has gone by and the file has not been written to alert.
So far I have the time pulled from the file but I dont know how to compare the times against a 60 min difference.
... (2 Replies)
Discussion started by: jarich
2 Replies
10. UNIX for Dummies Questions & Answers
I have to capture the creation date and time stamp for a file. The ls command doesn't list all the required information. I need year, month, day, hour, minute and second.
Any ideas... (1 Reply)
Discussion started by: Xenon
1 Replies
NOTMUCH-SEARCH(1) General Commands Manual NOTMUCH-SEARCH(1)
NAME
notmuch-search - Search for messages matching the given search terms.
SYNOPSIS
notmuch search [options...] <search-term>...
DESCRIPTION
Search for messages matching the given search terms, and display as results the threads containing the matched messages.
The output consists of one line per thread, giving a thread ID, the date of the newest (or oldest, depending on the sort option) matched
message in the thread, the number of matched messages and total messages in the thread, the names of all participants in the thread, and
the subject of the newest (or oldest) message.
See notmuch-search-terms(7) for details of the supported syntax for <search-terms>.
Supported options for search include
--format=(json|text)
Presents the results in either JSON or plain-text (default).
--output=(summary|threads|messages|files|tags)
summary
Output a summary of each thread with any message matching the search terms. The summary includes the thread ID, date, the num-
ber of messages in the thread (both the number matched and the total number), the authors of the thread and the subject.
threads
Output the thread IDs of all threads with any message matching the search terms, either one per line (--format=text) or as a
JSON array (--format=json).
messages
Output the message IDs of all messages matching the search terms, either one per line (--format=text) or as a JSON array
(--format=json).
files
Output the filenames of all messages matching the search terms, either one per line (--format=text) or as a JSON array (--for-
mat=json).
tags
Output all tags that appear on any message matching the search terms, either one per line (--format=text) or as a JSON array
(--format=json).
--sort=(newest-first|oldest-first)
This option can be used to present results in either chronological order (oldest-first) or reverse chronological order (new-
est-first).
Note: The thread order will be distinct between these two options (beyond being simply reversed). When sorting by oldest-first the
threads will be sorted by the oldest message in each thread, but when sorting by newest-first the threads will be sorted by the
newest message in each thread.
By default, results will be displayed in reverse chronological order, (that is, the newest results will be displayed first).
--offset=[-]N
Skip displaying the first N results. With the leading '-', start at the Nth result from the end.
--limit=N
Limit the number of displayed results to N.
--exclude=(true|false|flag)
Specify whether to omit messages matching search.tag_exclude from the search results (the default) or not. The extra option flag
only has an effect when --output=summary In this case all matching threads are returned but the "match count" is the number of
matching non-excluded messages in the thread.
SEE ALSO
notmuch(1), notmuch-config(1), notmuch-count(1), notmuch-dump(1), notmuch-hooks(5), notmuch-new(1), notmuch-reply(1), notmuch-restore(1),
notmuch-search-terms(7), notmuch-show(1), notmuch-tag(1)
Notmuch 0.13.2 2012-06-01 NOTMUCH-SEARCH(1)