4 ms·
This is subjective. How would you cut/paste a 200 gigabyte file anyway?
by duaneb 11y ago
This is subjective. How would you cut/paste a 200 gigabyte file anyway?
- marvy 11y agoThe way this works on Windows (I think) is that internally, "cut" means "copy file path to clipboard", and "paste" means "move file from old place to new place". Thus, if you want to cut and paste from "Downloads" to "Documents", then it doesn't matter how big the file is: you just change a couple of directory entries without ever changing the file. If you want to do this across file systems, it has to do a copy.
- ddeck 11y agoI regularly use cut/paste to move files in Windows and Linux, not sure why the size is relevant. Ctrl-a to select all files for example, ctrl-x to cut, alt-tab or navigate to a different directory and ctrl-v to paste.
- duaneb 11y ago> not sure why the size is relevant Because typically cutting deletes, not marks. This seems like a great implementation though.
- recursive 11y agoYou don't have to load it in memory. The desired behavior can be accomplished with mv.