The rename system call (upon which the Perl rename is built) cannot rename files across different devices (i.e. across mount points, say from /home/foo/bar to /nfsmount/baz). See File::Copy and its move routine.
In reply to Re^2: What is the best way to move a directory?
by Fletch
in thread What is the best way to move a directory?
by wenD
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |