Hacker News new | ask | show | jobs
by stavros 96 days ago
Do not try and move the files; that's impossible. Instead, only try to realize the truth... Delete them after you copy.
3 comments

Right? If you move between file system or device I would expect "move" to be impossible. At best you could copy a logical block and then delete a logical block. If you share a filesystem then perhaps a logical block is a few hundred kilobytes. If you don't then I'd expect the smallest logical block to be the file itself.
Moving on the same filesystem moves the pointer to the file.
Right! When I wrote that I made a mistake and thought that there were filesystems that used multiple drives but still had the meaningful distinction of "what drive is that file on?"

Like, yeah, RAID, several drives, one filesystem, right? Except no, because it's just one virtual device.

> Delete them after you copy.

Why is the word “you” in there, as-if that is inherently manual labour for me to carry out?

I know! Move is two operations under the hood.

Rclone automates this trivial two step action.

Azcopy does not.

Bend the spoon*

* for people who don’t know the ref

The star only confuses me more...?
It's a pointer to a reference you don't have.

Also, a line from a scene in the Matrix.