Re: find yesterday date using date command
Re: find yesterday date using date command
- Subject: Re: find yesterday date using date command
- From: kai <email@hidden>
- Date: Mon, 1 Jan 2007 19:06:59 +0000
On 1 Jan 2007, at 18:14, Hung Phan wrote:
I try to write a backup script that which move older files into the
previous date folder. Search throughout Google for a way to get
yesterday date using "date" command, no luck. Can someone help me
with this please?
If you want to ensure that "yesterday" means the start of yesterday
(rather than exactly 24 hours ago), then you might consider something
like:
-------------------
tell (current date) to set yesterday to it - days - time
-------------------
---
kai
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden