Ways to save space on a drive/NAS: Compression and Deduplication

Опубликовано: 10 Март 2026
на канале: ElectronicsWizardry
4,276
211

In this video I go over some of the methods I use to save space on my NAS and file shares. I go over ways I find files that can be deleted, remove duplicate files, and compress files to save space.

Some of the programs I used in this video:

Winidirstat: Disk usage statistics viewer https://windirstat.net/
Ncdu: Disk usage statistics viewer for command line https://dev.yorhel.nl/ncdu (also on most package managers)
Fdupes: Basic duplicate file finder https://github.com/adrianlopezroche/f... (also on most package managers)
Czkawka: Powerful duplicate finder, with fuzzy matching https://qarmin.github.io/czkawka/
7zip: Compression tool with near the best compression ratio https://www.7-zip.org/ (on most package managers as p7zip-full)
JpegXL: A new image compression format that offers some of the best compression ratio and lossless jpeg recompression https://jpegxl.info/ (the cjxl and djxl tools I used as available on most package managers in the libjxl package or on Github here https://github.com/libjxl/libjxl)
Adobe DNG Converter: Converts RAW files to the DNG format, often with better compression https://helpx.adobe.com/camera-raw/us...
FFMPEG: Powerful video and audio compression tool https://ffmpeg.org/
Shutter encoder: GUI Compression Tool using FFmpeg backend https://www.shutterencoder.com/en/
Ghostscript: PDF tool with compression abilities https://ghostscript.com/docs/9.56.1/I... (also on most package managers)


00:00 Intro
00:16 Visual disk usage viewers
01:03 Using find to remove matching files
01:34 Finding duplicate files
02:39 Filesystem deduplication
03:25 Replacing duplicate files with hard links
04:06 Compression overview
05:34 File compression with 7zip
07:27 Filesystem compression
08:14 Image compression with JpegXL
09:59 Lossless compression ration comparison
11:16 Raw image compression with DNG
12:13 Video compression with AV1
14:11 PDF Compression
15:07 Audio compression
15:53 Conclusion