04-01-2009
script to pull info from my email?
Hi, I need help writing a script that would pull info from an email inbox and add it to an Evolution Calendar. I'm pretty sure I can google the commands to add the info to the calendar. The part that I really need help with is getting the info from the email into the command. Basically for work, when I accept an assignment, I get an email from an automated system that provides the job details. I'd like to pull the "who", "when" and "where" info and add that to the calendar. The emails are formated in a consistent fashion so the info I need will always be given in the same way.
Any help would be greatly appreciated as I'm new scripting and commands like 'grep'
Thank you.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hey Guyz Just need some help regarding this.I need to send an email(sendmail) to group of users, when ever the content in a file e.g abc.txt changes.We need to send the changed content in the email.We are using bash here.Thanks for your help Guyz
--CoolKid (1 Reply)
Discussion started by: coolkid
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am writing a shell script to pull a file from a remote server (Let say its a windows based remote server). One of my criteria is to pull a file only if it is not empty.
We have done a similar script to push a file from our end to a remote server and before pushing it we check for the... (2 Replies)
Discussion started by: sashankkrk
2 Replies
3. Forum Support Area for Unregistered Users & Account Problems
Hi ,
Is it possible to list the user's email id for further communication.
Thanks,
MoonwalaPL (3 Replies)
Discussion started by: moonwalapl
3 Replies
4. Shell Programming and Scripting
below is an extract from my file and I am trying to use Awk and grep and a while loop to pull infomation from under neath "HBA WWN=".HBA WWN=" reoccurs all over the file but the 100000c.....number are unique and I want to be able to pull and reference specifi information under this header ever time... (2 Replies)
Discussion started by: kieranfoley
2 Replies
5. Shell Programming and Scripting
I am hoping to get some help with a script to pull certain fields from a log file.
User update (xx6xxx P) rpt (yy6yyy B) 2010/01/20 21:36:01.298
Remote client forward start streamid 85af 2010/01/20 21:36:01.307
rpt2 (ZZ6ZZZ G) rpt1 (YY6YYY B) urcall (CQCQCQ ) mycall (W1AW)
user... (5 Replies)
Discussion started by: TedSD
5 Replies
6. Shell Programming and Scripting
I have CSV file that contains data in the format as shown below:
ABC, 67, 56, 67, 78, 89, 76, 55
PDR, 85, 83, 83, 72, 82, 89, 83
MPG, 86, 53, 54, 65, 23, 54, 75
..
..
..
..
I want to create a script that will pull out the rows from the above sheet and paste it into another CSV file.... (12 Replies)
Discussion started by: pankajusc
12 Replies
7. Shell Programming and Scripting
I am attempting to write a script that will pull out NTLM hashes from a text file that contains about 500,000 lines of data. Not all accounts contain hashes and I only need the ones that do contain hashes.
Here is a sample of what the data looks like:
There are thousands of other lines in... (6 Replies)
Discussion started by: chango77747
6 Replies
8. Shell Programming and Scripting
Hello All,
I need help writing a bash script that will run on 500 LINUX servers and do the following:
1. Capture the ipa_server name from /etc/sssd/sssd.conf on a list of 500 servers in the ipahosts file.
2. Write to a file outputing only server name and IPA server name.
Root ssh keys... (3 Replies)
Discussion started by: vtowntechy
3 Replies
9. Shell Programming and Scripting
I/m a beginner so be easy. I have text files that live on an AIX server. The files come in and I've been charged with writing a shell script to email out that pulls the first date, and the last date of the file. I need to load these 2 dates into 2 separate variables. I can figure out the variables,... (13 Replies)
Discussion started by: mattadams1983
13 Replies
10. Shell Programming and Scripting
Hi all,
I'm trying to write a script to recursively cd into my Git projects and pull them, and will later expand it to build my projects as well.
I'm having a bit of trouble with my current script, as I want to supply a command line argument to tell it which branch to check out. I can hard... (2 Replies)
Discussion started by: Cows
2 Replies
LEARN ABOUT DEBIAN
gtk2::recentinfo
Gtk2::RecentInfo(3pm) User Contributed Perl Documentation Gtk2::RecentInfo(3pm)
NAME
Gtk2::RecentInfo - wrapper for GtkRecentInfo
HIERARCHY
Glib::Boxed
+----Gtk2::RecentInfo
METHODS
timestamp = $info->get_added;
timestamp = $info->get_modified;
timestamp = $info->get_visited;
cut
integer = $info->get_age
(exec, count, timestamp) = $info->get_application_info ($app_name)
o $app_name (string)
(applications) = $info->get_applications
string = $info->get_description
string = $info->get_display_name
boolean = $info->exists
(groups) = $info->get_groups
boolean = $info->has_application ($app_name)
o $app_name (string)
boolean = $info->has_group ($group_name)
o $group_name (string)
pixbuf = $info->get_icon ($size)
o $size (integer)
boolean = $info->is_local
string = $info->last_application
boolean = $info->match ($other_info)
o $other_info (Gtk2::RecentInfo)
string = $info->get_mime_type
unix timestamp = $info->get_modified
boolean = $info->get_private_hint
string = $info->get_short_name
string = $info->get_uri_display
string = $info->get_uri
unix timestamp = $info->get_visited
SEE ALSO
Gtk2, Glib::Boxed
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.14.2 2012-05-27 Gtk2::RecentInfo(3pm)