Skip to main content

needed to find an email on my dovecot imap software

goal:

find files

1 from 2010 - ie older than 400
2 with "scallix" in the file name
3 with 1738 in the file contents

1. i used http://www.timeanddate.com/date/durationresult.html?m1=06&d1=01&y1=2010&m2=2&d2=15&y2=2012
to calculate the mtime

2. i used http://www.linuxquestions.org/questions/general-10/file-creation-date-in-linux-473684/ to tell me about mtime

3. i used http://www.itworld.com/it-managementstrategy/106032/how-to-grep-tricks-linux-users to look at combining grep with find

4. result:
find . -mtime +400 -name "*scallix*" -exec grep 1738 '{}' \; -print

Comments

Popular posts from this blog

How to change default calendar for new events in Lightning

https://getsatisfaction.com/mozilla_messaging/topics/how_set_default_calendar_for_new_events_in_lightning Edited version Open Tools > Options > Advanced tab, and click Config Editor button. In the "Filter:" box enter "calendar.registry"  Find a .calendar-main-default key - it will be set to true Other calendars either won't have a .calendar-main-default key (or it will be set to false) Right click on the value of the .calendar-main-default key that goes with the calendar that currently shows up by default in new events to toggle the value to false Click on the .calendar-main-in-composite key that goes with the calendar you want as default Right click on the same key and choose Copy Name from the menu that appears. Now right click on the key again and select New > Boolean Paste the name of the key and Use the backspace key to erase "in-composite" and type "default" Click OK and Choose true and click OK Now exit out of

How to make your printer AirPrint compatible

http://www.netputing.com/applications/handyprint-v5/ $5USD handyPrint™ v5 is a 64 bit Mac OSX application that allow you to print from your iPods, iPads and iPhones on printers that do not support the AirPrint protocol. v5 has been re-designed as a standard application similar to the ones you would find in the Apple App Store. You simply copy it to the Applications folder and run it from there. Once you turn the application switch to ON it will start on its own every time you login to you user account. No need to manually start the application. http://www.collobos.com $20/USD per year per server Presto is a robust, cost effective solution for enterprise mobile printing. Unlike other solutions, Presto integrates with a corporate network’s DNS and DHCP servers, freeing it from requiring expensive hardware and additional software components to work.  It is not unusual to find a single copy of Presto Enterprise powering the entire mobile printing services of a large enterprise or unive