[BUG] revDeleteFolder

Kay C Lan lan.kc.macmail at gmail.com
Tue Apr 7 07:33:47 EDT 2015


Thanks Paul, I like your thinking. Unfortunately that isn't going to work
in this case. My Internal HD is overflowing and the last thing I need to do
is copy a couple of dozen large (>6 GB) folders across. I'm scripting (for
self use) a little utility to search a couple of my backup HDs to see if
I've got quadruplicates of anything and if so, to Trash one copy. I want to
Trash so I can do one last double check before I empty it. Then I should be
able to Trash some of my old large project folders off my internal HD
knowing that I've got multiple copies elsewhere.

Yes I know HDs are cheap, but not so SSDs, but still I need to buy a bigger
one, but I need the free space NOW! Thankfully I've figured it out.

Can you comment on revDeleteFolder, is that instantly nuking for you?

On Tue, Apr 7, 2015 at 7:11 PM, Paul Dupuis <paul at researchware.com> wrote:

> On 4/7/2015 6:54 AM, Kay C Lan wrote:
> > On Tue, Apr 7, 2015 at 6:15 PM, Kay C Lan <lan.kc.macmail at gmail.com>
> wrote:
> >
> >> rename folder <full path name> to specialFolderPath("empt") & "/" &
> >> "<short name>"
> >>
> >> Only works for Trashing folders/files on the start up disk. Still need
> to
> > figure out how to Trash files/folders on an external HD. Any help
> > appreciated.
>
> Use revCopyFolder (see dictionary) to copy the folder to be trashed to
> specialFolderPath("empt") & "/" & tFolderName and then use
> revDeleteFolder to remove the original folder from the external HD.
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the Use-livecode mailing list