summaryrefslogtreecommitdiffstats
path: root/EXAMPLE
diff options
context:
space:
mode:
authorSimon Rettberg2017-02-10 14:42:07 +0100
committerSimon Rettberg2017-02-10 14:42:07 +0100
commit4b6a44e7082e52f667348b583d1d3c8bd46892f0 (patch)
treeafc3edd3929f43b0131c1631332bd7ccce19a2a8 /EXAMPLE
downloadntfsfree-4b6a44e7082e52f667348b583d1d3c8bd46892f0.tar.gz
ntfsfree-4b6a44e7082e52f667348b583d1d3c8bd46892f0.tar.xz
ntfsfree-4b6a44e7082e52f667348b583d1d3c8bd46892f0.zip
Initial commit
Diffstat (limited to 'EXAMPLE')
-rw-r--r--EXAMPLE7
1 files changed, 7 insertions, 0 deletions
diff --git a/EXAMPLE b/EXAMPLE
new file mode 100644
index 0000000..2c1505a
--- /dev/null
+++ b/EXAMPLE
@@ -0,0 +1,7 @@
+# Get all free ranges that are at least 500MB,
+# pagefile.sys will be ignored (considered free space)
+# Then sort them by size, descending
+./ntfsfree -m 50000000 -p /tmp/test.ntfs | sort -r -k 4,4 -n -b
+
+# Human readable listing of all free ranges of at least 1MB
+./ntfsfree -m 1000000 -h /dev/sda5