Turning files into a table
Delivery often needs an inventory of names, types and sizes, sometimes with checksums. Adding files in batches reads each name, extension and byte size into a table, a sample shows the shape, and clearing resets. Copying gives plain text for email, CSV export supports sorting and totals in a spreadsheet, and text export suits archiving. Everything runs locally in the browser without uploads.
Steps
- Add files in batches, selecting many at once.
- Check each name and size, noting duplicates that differ by path.
- Load the sample to confirm the columns match delivery needs.
- Copy the text into a delivery note.
- Export CSV and sort by size to find unexpectedly large files.
- Export text for archives, clearing to start again.
Sizes and counting conventions
Two conventions exist: bytes are actual occupancy, while KB and MB display may divide by a thousand or by one thousand and twenty-four, and mixing them shifts reports by hundreds of bytes. Directory size differs from file size, since a directory is an index while the space belongs to contents. A list reflects only selected files without recursing into subfolders, so entries should match the selection count. Type detection follows extensions rather than content, so renamed files are mislabelled and true types need header bytes. Same-named files in different folders are separate records and need relative paths in the list.
Common mistakes
Selecting only files and assuming the list is complete. Mixing KB and KiB so numbers disagree. Judging type by extension alone. Listing identically named files ambiguously. Leaving the list unsorted so large files hide. And exporting without reconciling the total count.
Where an inventory is not a backup
Recursive trees need local commands. Integrity checks need hashes. Deduplication needs a duplicate finder. And an inventory stores metadata only, never file content.