in reply to unix mv command
But instead, why don't you just use File::Copy:system($cmd,@args)
That will try to rename the file, if it can (ie if the destination file is on the same partition as the original), otherwise it'll copy it and delete the original, or it'll tell you why.File::Copy::move( $old, $new ) or die $!;
Clint
UPDATE (doh): I meant move not copy
|
|---|