<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Automation on Andres Marrugo</title>
    <link>https://andresmarrugo.net/blog/categories/automation/</link>
    <description>Recent content in Automation on Andres Marrugo</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Thu, 09 Jun 2016 23:49:00 -0500</lastBuildDate>
    <atom:link href="https://andresmarrugo.net/blog/categories/automation/atom.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Group Images by Person</title>
      <link>https://andresmarrugo.net/blog/2016/06/09/group-images-by-person/</link>
      <pubDate>Thu, 09 Jun 2016 23:49:00 -0500</pubDate>
      <guid>https://andresmarrugo.net/blog/2016/06/09/group-images-by-person/</guid>
      <description>A python script for grouping image files per person on folders.</description>
    </item>
    <item>
      <title>Get Fridays</title>
      <link>https://andresmarrugo.net/blog/2016/01/30/get-fridays/</link>
      <pubDate>Sat, 30 Jan 2016 00:58:00 -0500</pubDate>
      <guid>https://andresmarrugo.net/blog/2016/01/30/get-fridays/</guid>
      <description>A Python script for producing an outline for course with dates.</description>
    </item>
    <item>
      <title>Grading lab reports workflow</title>
      <link>https://andresmarrugo.net/blog/2015/10/19/grading-lab-reports-workflow/</link>
      <pubDate>Mon, 19 Oct 2015 22:31:00 -0500</pubDate>
      <guid>https://andresmarrugo.net/blog/2015/10/19/grading-lab-reports-workflow/</guid>
      <description>Grading lab reports workflow using Python and Plain Text Files.</description>
    </item>
    <item>
      <title>Date Commands</title>
      <link>https://andresmarrugo.net/blog/2014/12/07/date-commands/</link>
      <pubDate>Sun, 07 Dec 2014 22:49:00 -0500</pubDate>
      <guid>https://andresmarrugo.net/blog/2014/12/07/date-commands/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://www.leancrew.com/all-this/2014/12/two-little-date-commands/&#34;&gt;Dr. Drang recently shared&lt;/a&gt; two date commands he uses for: i) calculating how many days have passed since a given date, and ii) another that returns the day of the year of the current date.&lt;/p&gt;
&lt;p&gt;I was mainly interested in the first one because I often have to do that calculation.&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; Because the script can also compute the days remaining until a future date, you can imagine how handy it can be. For instance, if I&amp;rsquo;d like to know how many days until the day I start my vacations, I just run the script with a future date and it&amp;rsquo;ll return a negative result in days. Or if I&amp;rsquo;d like to know how old I am in days.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Convert Image to PDF with Automator and Imagemagick</title>
      <link>https://andresmarrugo.net/blog/2012/10/18/image-to-pdf-with-automator-and-imagemagick/</link>
      <pubDate>Thu, 18 Oct 2012 22:30:00 -0500</pubDate>
      <guid>https://andresmarrugo.net/blog/2012/10/18/image-to-pdf-with-automator-and-imagemagick/</guid>
      <description>&lt;p&gt;I often use &lt;a href=&#34;http://www.imagemagick.org/script/index.php&#34;&gt;Imagemagick&lt;/a&gt; for image manipulation&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;. However, for simple conversion of an image to another format or similar things I have to go to the terminal and type something like the following&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;convert somefile.png somefile.pdf
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Which is quite simple, and much better than opening preview -&amp;gt; export&lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;-&amp;gt;select pdf-&amp;gt; and hit save. But typing that for more than one image is &lt;em&gt;also&lt;/em&gt; tedious. So, I decided I&amp;rsquo;d better create a service that would essentially do the following.&lt;/p&gt;
&lt;p&gt;It would take the selected finder items, mainly images in &lt;code&gt;png&lt;/code&gt;, &lt;code&gt;jpeg&lt;/code&gt;, or whatever, and convert all of them to &lt;code&gt;pdf&lt;/code&gt;. Simple.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
