I want to move my copy of the Buster image off of my Pi to make room for other files. Tried moving it with File Manager's Cut/Paste and mv at command line. Both processes failed to complete the move with an error: file too large.
Is there a way to move it?
How to move a 4.9 GB file (Solved)
Last edited by nmrider66 on Tue Jul 23, 2019 3:09 am, edited 1 time in total.
Re: How to move a 4.9 GB file
Is there enough free space on the destination device you're trying to move it to? It appears there is not.
Re: How to move a 4.9 GB file
Where were you trying to move it to?
If it was a USB stick formatted in FAT32 for Windows compatibility, there is a file size limit of 4GB.
If it was a USB stick formatted in FAT32 for Windows compatibility, there is a file size limit of 4GB.
Unreadable squiggle
Re: How to move a 4.9 GB file
The drive has enough space but I'm not sure how its formatted. How do I check the formatting of the drive?
Re: How to move a 4.9 GB file
Code: Select all
sudo blkid
Re: How to move a 4.9 GB file (Solved)
One of my usb thumb drives was formatted with VFAT. Another is formatted with NTFS. I was able to copy the file to that one. Thank you all.
-
- Posts: 17201
- Joined: Fri Mar 09, 2012 7:36 pm
- Location: Vallejo, CA (US)
Re: How to move a 4.9 GB file
You could always compress it first. Since it's on a Pi, you can use zip or gzip.
Re: How to move a 4.9 GB file (Solved)
NTFS is probably the way to go if you need to transfer files to Windows. Alternatively you can use samba to transfer the file over the network. Note that NTFS on the Pi is a bit slow.
(VFAT is what Linux calls certain versions of the FAT filesystem. Technically VFAT was actually Microsoft's "virtual mode" FAT driver included in Windows 95, 98 and ME).
Re: How to move a 4.9 GB file
Or the newer "xz" which will give much better compression, but likely be slower too.W. H. Heydt wrote: ↑Mon Jul 22, 2019 1:52 amYou could always compress it first. Since it's on a Pi, you can use zip or gzip.
Its similar in use to gzip, so "xz -9" will give the best compression.
See "man xz" for details.
Re: How to move a 4.9 GB file
For compressing files on my Pi I use pigz - it is a parallel implementation of gzip. It has the advantage that it will use all four ARM cores on the Pi. (Assuming you have a Pi with four cores of course). This makes it much faster.