• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Re(2): do shell script date with last month's date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re(2): do shell script date with last month's date


  • Subject: Re: Re(2): do shell script date with last month's date
  • From: Christopher Stone <email@hidden>
  • Date: Fri, 14 Feb 2014 17:29:16 -0600

On Feb 14, 2014, at 16:40, JF <email@hidden> wrote:
> Fri, 14 Feb 2014 22:30:58 +0000, Bryan Harris  wrote:
>> /usr/local/Cellar/coreutils/8.21/bin/gdate -d 'last month' +"%B %Y" January 2014
>
> How would this fit into an applescript for an email in PowerMail (or any other mail app)?
______________________________________________________________________

Hey James,

It works just like 'date' does from the shell, BUT you have to install it.  You can do that with MacPorts or HomeBrew, or you can build it yourself from the command line.  I use MacPorts myself.

MacPorts requires that Xcode be installed.  I don't know about HomeBrew.

--
Best Regards,
Chris


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


  • Follow-Ups:
    • Re: Re(2): do shell script date with last month's date
      • From: Bryan Harris <email@hidden>
References: 
 >Re: do shell script date with last month's date (From: Christopher Stone <email@hidden>)
 >Re: do shell script date with last month's date (From: Bryan Harris <email@hidden>)
 >Re(2): do shell script date with last month's date (From: JF <email@hidden>)

  • Prev by Date: Re: Macro vs Script
  • Next by Date: Re: Macro vs Script
  • Previous by thread: Re(2): do shell script date with last month's date
  • Next by thread: Re: Re(2): do shell script date with last month's date
  • Index(es):
    • Date
    • Thread