Open mb720 opened 4 years ago
Hi.
Is there a way to make Vifm warn me if I try to copy something that's too large for the target partition?
No, there isn't.
This is actually not that straightforward, because you might be replacing some files and accurate estimate would require measuring size of existing files that will be deleted to consider that amount as free. And it might still fail if you copy and replace huge files which are differently named (so Vifm can try to copy a large file before removing large one at destination).
So if implemented, such a warning should be possible to ignore.
Hi!
Is there a way to make Vifm warn me if I try to copy something that's too large for the target partition?
I just recklessly tried to copy a bunch of files to a USB drive without realizing that the sum of the files' sizes was too much for the USB drive.
What happened was that Vifm froze for a couple of minutes then told me that the write was unsuccessful. I chose "abort" in the menu. Inspecting the files on the USB drive I saw that at least one of them was missing about 200 MiB compared to its original.
In a perfect world, Vifm would have warned me saying something along the lines "there's too little disk space on the target".
Thanks for your time!