I've been trying to move 32.6 GB of files to a folder on an external flashdrive to free up space on my laptop's SSD. After opening up the source folder in Terminal (and running ulimit -S -s unlimited
to keep mv
from throwing up), mv *from* /media/[username]/8849-14DB/Screenshots/
transferred the first 5.9 GB just fine.
But then, with 26.7 GB still to go:
mv: cannot create regular file '/media/[username]/8849-14DB/Screenshots/Screenshot from 2022-01-06 06-34-27.png': No space left on device
mv: cannot create regular file '/media/[username]/8849-14DB/Screenshots/Screenshot from 2022-01-06 06-34-30.png': No space left on device
mv: cannot create regular file '/media/[username]/8849-14DB/Screenshots/Screenshot from 2022-01-06 06-34-34.png': No space left on device
mv: cannot create regular file '/media/[username]/8849-14DB/Screenshots/Screenshot from 2022-01-06 06-34-39.png': No space left on device
mv: cannot create regular file '/media/[username]/8849-14DB/Screenshots/Screenshot from 2022-01-06 06-35-23.png': No space left on device
[repeated ad infinitum]
This despite the fact that the flashdrive in question is not, in fact, out of space, as shown by:
- me being able to successfully save a test file to said flashdrive, and
- both the drive's Properties window and its Disks entry showing that it still has 31.1 GB of free space remaining.
However, when I tried to use the GUI to move the aforementioned test file into the specific directory where I'd been trying to use mv
to move the multiple gigabytes of files, I did get a "No space left on device" error, indicating that
- whatever the issue is, it's specific to that folder, and
- this isn't a command-line-specific issue.
I looked at this earlier question: Filesystem - No space left error, but there is space. However, the answers to that question were unhelpful to me, as they related to the limited number of inodes available on an ext-family filesystem, whereas, in my case, the destination filesystem is a FAT32-formatted flashdrive.
What issue am I running into that keeps the files from transferring, and how do I overcome it?
EDIT: The target directory has 16,383 files in it.