Re: Two NSFileManager questions

2006-03-09 Thread Enrico Sersale
On 2006-03-09 10:55:20 +0200 Richard Frith-Macdonald <[EMAIL PROTECTED]> wrote: On 8 Mar 2006, at 13:32, Enrico Sersale wrote: 2) I can't find a way to remove broken symlinks; - removeFileAtPath:: doesn't work in this case. I can't see why this shouldn't work for you ... the code looks OK a

Re: Two NSFileManager questions

2006-03-09 Thread Jonathan Isom
On 2006-03-09 18:42:13 -0600 Enrico Sersale <[EMAIL PROTECTED]> wrote: On 2006-03-09 10:55:20 +0200 Richard Frith-Macdonald <[EMAIL PROTECTED]> wrote: On 8 Mar 2006, at 13:32, Enrico Sersale wrote: 2) I can't find a way to remove broken symlinks; - removeFileAtPath:: doesn't work in this c

Re: Two NSFileManager questions

2006-03-10 Thread Enrico Sersale
On 2006-03-10 05:28:59 +0200 Jonathan Isom <[EMAIL PROTECTED]> wrote: On 2006-03-09 18:42:13 -0600 Enrico Sersale <[EMAIL PROTECTED]> wrote: On 2006-03-09 10:55:20 +0200 Richard Frith-Macdonald <[EMAIL PROTECTED]> wrote: On 8 Mar 2006, at 13:32, Enrico Sersale wrote: 2) I can't find a way

Re: Two NSFileManager questions

2006-03-10 Thread Richard Frith-Macdonald
On 8 Mar 2006, at 13:32, Enrico Sersale wrote: 1) NSFileManager, in -_copyPath:::, when encounters a directory, tries to create a new destination directory with the same attributes of the source; if the directory is created but the attributes can't be set it skips the source contents, even

Re: Two NSFileManager questions

2006-03-10 Thread Richard Frith-Macdonald
On 8 Mar 2006, at 13:32, Enrico Sersale wrote: 2) I can't find a way to remove broken symlinks; - removeFileAtPath:: doesn't work in this case. I can't see why this shouldn't work for you ... the code looks OK and the method works fine for me. However, when I tried using GWorkspace to delet

Re: Two NSFileManager questions

2006-03-12 Thread Alex Perez
Richard Frith-Macdonald wrote: On 8 Mar 2006, at 13:32, Enrico Sersale wrote: 2) I can't find a way to remove broken symlinks; -removeFileAtPath:: doesn't work in this case. I can't see why this shouldn't work for you ... the code looks OK and the method works fine for me. However, when I t

Re: Two NSFileManager questions

2006-03-12 Thread Alex Perez
Enrico Sersale wrote: On 2006-03-09 10:55:20 +0200 Richard Frith-Macdonald <[EMAIL PROTECTED]> wrote: On 8 Mar 2006, at 13:32, Enrico Sersale wrote: 2) I can't find a way to remove broken symlinks; - removeFileAtPath:: doesn't work in this case. I can't see why this shouldn't work for you