[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] duplication of folder ???



lolo@ipbs.fr writes:
}Hello,
}
}a simple question:
}
}how can i duplicate a folder?
}I mean how can i make a copy folder1 to folder2 where folder1 and
}folder2 are both in folder3?
}
}i ve tried FSpDirectoryCopy($dir1,$dir2,1);
}
}but it copy dir1 IN dir2 not AS dir2

Well then obviously $dir2 should contain the directory *above* the one you
want it in.  Then rename it to whatever you want.

}
}please a solution without applescript.

Why not use AppleScript?  Sometimes it's the best solution for these types
of problems.  Look at the Finder's "duplicate" command in its dictionary.

}
}
}
}--
}
}Laurent BARDI Ingenieur Systemes & Reseaux
}Centre National de la Recherche Scientifique
}INSTITUT  de PHARMACOLOGIE et de BIOLOGIE STRUCTURALE
}Tel : 05-61-17-59-47             http://www.ipbs.fr/
}Fax : 05-61-17-59-94             lolo@ipbs.fr
}CNRS-IPBS 205 Route de Narbonne 31400 TOULOUSE FRANCE
}
}///////////////////////////////////////////////////////////////////////////
}/ There is worse than to have not succeded
}:                              /
}/ Not to have  tried
}!                                                    /
}///////////////////////////////////////////////////////////////////////////
}
}If it stinks, it's chemistry. If it moves, it's biology.
}If it does not work, It's computer science.
}
}Linux the choice of a GNU generation
}
}***** Want to unsubscribe from this list?
}***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch


---
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693, Greenbelt, MD 20771
schinder@pjstoaster.pg.md.us



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch