Thursday, April 14, 2005

Move implementations


It is funny how many implementations of move don't support moving a file across different partitions.  First, I wanted to use some of the AppleScripts described in the comments of this hint on macosxhints.  But since I use FileVault, my home directory is a disk image, and AppleScript's move will doesn't return an error, but doesn't do anything.


And, I just discovered, that php's rename has the same problem.  It looks like versions of php prior to 4.3.3 do not work across different partitions. This is also a problem for move_uploaded_file, but they don't call it out in their documentation.


It seems really strange that these problems are just being fixed now.

No comments:

Post a Comment

Making Your Home Automation Work for You and Your Guests: A Guide to Smart Home Guest Management

Home automation is a fantastic way to make your home more comfortable and reduce the amount of manual work you need to do. Automating your l...