On most filesystems rename is the same as move as long as the source and target are on the same filesystems since the name just contains a pointer to the blocks on disk where the contents of the file are. So for intra-filesystem moves renaming /foo/bar/asd to /foo/rab/dsa is the same as copying it.
Short version: use File::Copy move.
-ben
In reply to Re: copy, move, rename
by knobunc
in thread copy, move, rename
by esolm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |