Why not send "backup" to me in 86400 seconds
Then you just need to get the first 1 timed correctly and you're off.
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Sjoerd Op 't Land
> Sent: Wednesday, 7 March 2001 5:40 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Mac Timed Copy
>
>
> Gary Rathbone wrote/ schreef:
>
> > At about 3am every morning I need to copy a folder from one location to
> > another on a different volume.
> >
> > I understand the idleticks is NOT the way to do this and that :
> >
> > send "backup" to me in 21600 seconds
> >
> > is a better method. I can then check the time and also see if
> the backup has
> > occurred.
> I think a better way of doing this is to check the time every minute (or
> something) and then see whether the time (in seconds from 1904) that the
> backup had to be made is already past, and then check whether
> that backup is
> done, and if not done, do it then.
>
> > It seems the 'rename' command doesn't allow the moving of a
> directory on Mac
> > systems. Is there another command that will do this....
> >
> > I can easily achieve my aim in Applescript or Supercard but
> would prefer a
> > Metacard solution.
> I think you'll have to use AppleScript from within MC with my
> MacFileAttribs- stack which I mailed you off-list, but also can
> be found at:
>
> http://homepage.mac.com/sjoerdoptland/macfileattribs.mc
> (Choose save as... to get it as a file on your disk.)
>
> And then run:
>
> tell application "Finder"
> activate
> copy folder "FolderToBeBackupped" to folder "Sites"
> end tell
>
> Or something like that.
>
> > TIA.
> >
> > Gary Rathbone
> Hope this helps,
> Sjoerd
>
>
> Archives: http://www.mail-archive.com/[email protected]/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.