.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH SHAKE "8" "July 2024" "Shake 1.0" "System Administration Utilities" .SH NAME Shake - Rewrite fragmented files, maybe improving performance. .SH SYNOPSIS .B shake [\fI\,OPTION\/\fR]... [\fI\,FILE|DIRECTORY\/\fR]... .SH DESCRIPTION Rewrite fragmented or misplaced files, maybe improving performance. Reads file list from standard input if there is no files in the arguments. You have to mount your partition with the user_xattr option. .TP \fB\-c\fR, \fB\-\-max\-crumbc\fR max number of crumbs .TP \fB\-C\fR, \fB\-\-max\-fragc\fR max number of fragments .TP \fB\-d\fR, \fB\-\-max\-deviance\fR max distance between file start and it's ideal position .TP \fB\-h\fR, \fB\-\-help\fR you're looking at me ! .TP \fB\-L\fR, \fB\-\-no\-locks\fR don't put a lock on written files .TP \fB\-m\fR, \fB\-\-many\-fs\fR shake subdirectories that are on different filesystems .TP \fB\-n\fR, \fB\-\-new\fR age of "new" files, which will be shak()ed .TP \fB\-o\fR, \fB\-\-old\fR age of "old" files, which won't be shak()ed .TP \fB\-p\fR, \fB\-\-pretend\fR don't alter files .TP \fB\-r\fR, \fB\-\-crumbratio\fR ratio of the file under which a fragment is a crumb .TP \fB\-s\fR, \fB\-\-smallsize\fR the size under which a file is considered small .TP \fB\-S\fR, \fB\-\-bigsize\fR the size under which a file is considered big .HP \fB\-t\fR, \fB\-\-small\-tolerance\fR multiply crumbratio and divide maxfnumber of small files .TP \fB\-T\fR, \fB\-\-big\-tolerance\fR multiply crumbratio and divide maxfnumber of big files .TP \fB\-v\fR, \fB\-\-verbose\fR increase the verbosity level .TP \fB\-V\fR, \fB\-\-version\fR show version number and copyright .TP \fB\-X\fR, \fB\-\-no\-xattr\fR disable usage of xattr .SH USAGE If there is no .I FILES shake read from stdin. Please refer to .I http://vleu.net/shake/ for detailed instructions. .SH EXAMPLES .TP See fragmention of a file : .B shake \--pretend \--verbose \--verbose .I FILE .TP Shake all file in a dir, recursively : .B shake \--old=0 .I DIR .TP Shake all mp3 in subdirectory, puting together those close in lexical order : find -iname '*.mp3' | sort | .B shake .SH "REPORTING BUGS" Report bugs to or at https://github.com/unbrice/shake/issues .SH COPYRIGHT Copyright (C) 2006-2009 Brice Arnould. Permission is granted to copy, distribute and/or modify documentation under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the file FDL.txt . .PP .br Copyright \(co 2006\-2011 Brice Arnould. Shake comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of Shake under the terms of the GNU General Public License version or greater. For more information about these matters, see the file named GPL.txt.