Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Why isn't there a "copy" function?

by mhi (Friar)
on Sep 10, 2004 at 07:08 UTC ( [id://389981]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Why isn't there a "copy" function?
in thread Why isn't there a "copy" function?

If I'm not mistaken, in the early days mv was _not_ able to move a file across file system boundaries, because it only implemented a rename. In those days you had to copy the file to the target FS and afterwards rm the leftovers on the source FS. Yes, you could call that ascetic. :-)

Replies are listed 'Best First'.
Re^4: Why isn't there a "copy" function?
by Eyck (Priest) on Sep 10, 2004 at 07:54 UTC
    Actually I got burned few times by this new 'mv' behaviour, you mv something from one dir to another, and suddenly it starts copying without warning.

    This is very bad behaviour, this hurts ALOT when you're moving 1G file and there's only 700Megs left free on your partition.

    (especially when you're moving between mount -o bind'ed directory on the same filesystem and mv thinks these are two different filesystems)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://389981]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-03-28 14:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found