Shake
vleu.net
- Free plan
- Linux
What Shake is
Shake is free GNU/Linux software that defragments files in userspace while the system is running. It rewrites fragmented files and uses heuristics based on file size, last-shake date or ctime, access-time patterns, and fragment counts. By default, files larger than 95 MB are skipped, and files newer than two months are not processed; options can change these limits. A last-shake time or ctime older than eight times 31 days makes a file eligible by default. The --pretend and --verbose options report fragmentation without changing files. A sorted list of MP3 files can be piped into Shake to place them near one another in lexical order. Installation guidance covers Ubuntu/Debian, Gentoo, Arch Linux, and source builds with CMake and libattr development files. The maker recommends user_xattr, and usage requires root access.
Who it suits
It suits GNU/Linux users who need userspace defragmentation while the system remains available. Administrators comfortable with root access and filesystem options can use its selection controls.
Good to know, and what to watch
- Runs while the system is in use
- Preview mode avoids file changes
- Configurable size and age thresholds
- Supports several Linux installation methods
- Can order MP3 files lexically
- Requires root access
- Files over 95 MB are skipped by default
- user_xattr is recommended for efficiency
- Linux only
The verdict
Shake offers configurable, in-use defragmentation with a preview mode and file-selection heuristics. Its root requirement and filesystem considerations should be understood before running it.
What the maker publishes
- Age behavior
- By default, Shake processes files whose last shake time or ctime is older than eight times 31 days and skips files newer than two months; these values can be changed with options. source
- Extended attributes
- The maker recommends mounting the partition with user_xattr; Shake can run without it but is less efficient because it uses extended attributes to store information for incremental use. source
- File ordering
- Piping a sorted list of MP3 files into Shake can defragment them and place files close together on disk in lexical order. source
- File ordering
- You can pipe a sorted file list into Shake to defragment files and place files close together in lexical order on disk. source
- File selection
- Shake uses file size, last-shake date or ctime, access-time patterns, and fragment counts in deciding whether files are fragmented enough to process. source
- File size behavior
- By default, files larger than 95 MB are not processed, and the maker documents options to change the size thresholds and tolerances. source
- File size behavior
- By default, files larger than 95 MB are skipped, and the page says this behavior can be changed with `--big-tolerance`. source
- Filesystem requirement
- The maker recommends mounting the partition with user_xattr; Shake can run without it but is less efficient for incremental use. source
- Founded
- 2008 source
- How it works
- It rewrites fragmented files and uses heuristics intended to improve efficiency compared with other tools. source
- How it works
- It defragments files by rewriting fragmented files. source
- Installation
- The maker lists Ubuntu/Debian, Gentoo, and Arch Linux installation options and instructions for building from source with CMake and libattr development files. source
- Install options
- The page lists Ubuntu/Debian, Gentoo, and Arch Linux installation options and instructions for building from source. source
- Maker
- The project page names Brice Arnould as the author. source
- Maker location
- The maker's about page says he lives in Evilard, a village close to Berne, Switzerland. source
- Preview
- The `--pretend` and `--verbose` options can show fragmentation without running a defragmentation pass. source
- Preview mode
- Shake can report fragmentation without changing files using the --pretend and --verbose options. source
- Purpose
- Shake is a userspace defragmenter for GNU/Linux that can run while the system is in use. source
- Purpose
- Shake is a userspace defragmenter for GNU/Linux that can run while the system is in use. source
- Root access
- The usage instructions say to run Shake as root. source
- Source code
- The maker links to a public GitHub repository whose file list includes COPYING and GPL.txt. source
- Support contact
- The project page lists [email protected] as the author's email address. source
- Usage
- The maker says to run Shake as root on a directory and recommends running it on the whole partition when it is not in use for better results. source
Checked against the maker's pages on 5 Oct 2026.