filefrag
Report how badly fragmented a particular file might be. More information: <https://manned.org/filefrag>.
Install
- All systems
-
curl cmd.cat/filefrag.sh
- Debian
-
apt-get install e2fsprogs
- Ubuntu
-
apt-get install e2fsprogs
- Alpine
-
apk add e2fsprogs
- Arch Linux
-
pacman -S e2fsprogs
- Kali Linux
-
apt-get install e2fsprogs
- CentOS
-
yum install e2fsprogs
- Fedora
-
dnf install e2fsprogs
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install e2fsprogs
- OS X
-
brew install e2fsprogs
- Raspbian
-
apt-get install e2fsprogs
- Dockerfile
- dockerfile.run/filefrag
- Docker
-
docker run cmd.cat/filefrag filefrag
powered by Commando
Report how badly fragmented a particular file might be. More information: <https://manned.org/filefrag>.
-
Display a report for a specific file:
filefrag path/to/file
-
Display a report for space-separated list of files:
filefrag path/to/file1 path/to/file2
-
Display a report using a 1024 byte blocksize:
filefrag -b path/to/file
-
Sync the file before requesting the mapping:
filefrag -s path/to/files
-
Display mapping of extended attributes:
filefrag -x path/to/files
-
Display a report with verbose information:
filefrag -v path/to/files
© tl;dr; authors and contributors