On Tue, Jan 14, 2025 at 11:49:25AM +0000, Adam Weremczuk wrote:

> I started copying (with rsync) a large chunk of data to that drive (26+
> million files, tens of thousands of folders, about 2TB in total).

> That much has been copied so far:
> 
> find /mnt/nvme0n1p1 -type f | wc -l
> 19868844

That command will tell you the length of all the file paths (names) that have
been created. To see what you have put on the disk you should use:

du -sh /mnt/nvme0n1p1

du -shi /mnt/nvme0n1p1

> find /mnt/nvme0n1p1 -type d | wc -l
> 9327

To see how full the disk is:

df -h /mnt/nvme0n1p1

df -hi /mnt/nvme0n1p1

-- 
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT 
Lecturer.
+44 (0) 787 668 0256  https://www.phcomp.co.uk/
Parliament Hill Computers. Registration Information: 
https://www.phcomp.co.uk/Contact.html
#include <std_disclaimer.h>

Reply via email to