Re: [PHP] Renaming a Directory

2009-09-09 Thread Ashley Sheridan
On Wed, 2009-09-09 at 00:08 -0400, Paul M Foster wrote: On Tue, Sep 08, 2009 at 05:39:43PM -0400, Floyd Resler wrote: How can I rename a directory with files in it? The rename function gives me a directory not empty error. I know I could do it be creating the directory, moving the

Re: [PHP] Renaming a Directory

2009-09-09 Thread Floyd Resler
Nope, nothing wrong with that at all. Just didn't think of it! Thanks! Floyd On Sep 8, 2009, at 5:46 PM, Eddie Drapkin wrote: On Tue, Sep 8, 2009 at 5:39 PM, Floyd Reslerfres...@adex-intl.com wrote: How can I rename a directory with files in it? The rename function gives me a directory

Re: [PHP] Renaming a Directory

2009-09-09 Thread Paul M Foster
On Wed, Sep 09, 2009 at 12:11:14AM -0400, Eddie Drapkin wrote: On Wed, Sep 9, 2009 at 12:08 AM, Paul M Fosterpa...@quillandmouse.com wrote: On Tue, Sep 08, 2009 at 05:39:43PM -0400, Floyd Resler wrote: How can I rename a directory with files in it?  The rename function gives me a

Re: [PHP] Renaming a Directory

2009-09-09 Thread Tom Worster
On 9/9/09 12:08 AM, Paul M Foster pa...@quillandmouse.com wrote: On Tue, Sep 08, 2009 at 05:39:43PM -0400, Floyd Resler wrote: How can I rename a directory with files in it? The rename function gives me a directory not empty error. I know I could do it be creating the directory, moving

Re: [PHP] Renaming a Directory

2009-09-09 Thread Lupus Michaelis
Paul M Foster a écrit : I would have thought so, but the man pages didn't mention it. I haven't use mv in ages. Makes sense that it would work, though. Moving/renaming a file would just change the name, not the inode number, which is the real key to *nix file systems. Ashley said it, a

Re: [PHP] Renaming a Directory

2009-09-08 Thread Eddie Drapkin
On Tue, Sep 8, 2009 at 5:39 PM, Floyd Reslerfres...@adex-intl.com wrote: How can I rename a directory with files in it?  The rename function gives me a directory not empty error.  I know I could do it be creating the directory, moving the files, and then deleting the old one.  Is there an

Re: [PHP] Renaming a Directory

2009-09-08 Thread Paul M Foster
On Tue, Sep 08, 2009 at 05:39:43PM -0400, Floyd Resler wrote: How can I rename a directory with files in it? The rename function gives me a directory not empty error. I know I could do it be creating the directory, moving the files, and then deleting the old one. Is there an easier way?

Re: [PHP] Renaming a Directory

2009-09-08 Thread Eddie Drapkin
On Wed, Sep 9, 2009 at 12:08 AM, Paul M Fosterpa...@quillandmouse.com wrote: On Tue, Sep 08, 2009 at 05:39:43PM -0400, Floyd Resler wrote: How can I rename a directory with files in it?  The rename function gives me a directory not empty error.  I know I could do it be creating the directory,