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

Seamless Local Control: Integrating WeatherFlow with Home Assistant Across VLANs

I've been pleased with my Home Assistant setup for some time now. One of my main focuses has been achieving local control. This ensures...