go to Terminal
do: man ditto
the ditto command should do exactly what you're looking for. You can
execute it through a shell.
Dave
---------------------
Operating anything other than a Mac is like going deer hunting with an
accordion...
---------------------
From: Rb Developer <rbdev2002 at yahoo dot com>
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Copying a program file through code
Date: Wed, 30 Jun 2004 09:02:33 -0700 (PDT)
Ok, a little clarity has appeared. After all the
contents are copied, the new item on the disk all of a
sudden LOOKS like an application, not like a folder
anymore (as the correct icon). But the copy of the
app won't execute. I opened the copied package with
the Finder's "Show Package Contents", and I noticed
that some of the contents of the copied package had
the old name (makes sense) so I used the Finder to
open the package and change their names to match the
new copied name of the application package, but the
copied app package still won't execute, it just
crashes.
Shouldn't copying a program file be simpler than all
this??? (Sorry, I'm a Windows guy normally!!!)
>
>
> To copy
> > an entire folder, you'd need to write a recursive
> > routine to create
> > the folder structure and copy all the contents, or
> > use a simple
> > AppleScript (or less simple AppleEvent) to tell
> the
> > Finder to do it
> > for you. Or, I suppose, use the Shell, though
> that
> > will require
> > finding the proper shell path for your source and
> > destination.
> >
> > Cheers,
> > - Joe
> >
> > --
> >
>
,------------------------------------------------------------------.
> > | Joseph J. Strout REAL Software,
> Inc.
> > |
> > | joe at realsoftware dot com
> > http://www.realsoftware.com |
> >
>
`------------------------------------------------------------------'
> > _______________________________________________
> > Unsubscribe or switch delivery mode:
> > <http://support.realsoftware.com/listmanager/>
> >
> > Search the archives of this list here:
> >
>
<http://support.realsoftware.com/listarchives/lists.html>
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We
> finish.
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://support.realsoftware.com/listmanager/>
>
> Search the archives of this list here:
>
<http://support.realsoftware.com/listarchives/lists.html>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_________________________________________________________________
MSN Movies - Trailers, showtimes, DVD's, and the latest news from Hollywood!
http://movies.msn.click-url.com/go/onm00200509ave/direct/01/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|