]> Dogcows Code - chaz/tar/blobdiff - doc/tar.texi
New option --sort=ORDER
[chaz/tar] / doc / tar.texi
index 2be123ac9751a22f12111d33772b6814edc0819c..9bb5a833c8c4c0d09d6f8012c13c44ab52dfc1d4 100644 (file)
@@ -3319,6 +3319,27 @@ The @option{--warning=existing-file} option can be used together with
 this option to produce warning messages about existing old files
 (@pxref{warnings}).
 
+@opsummary{sort}
+@item --sort=@var{order}
+Specify the directory sorting order when reading directories.
+@var{Order} may be one of the following:
+
+@table @samp
+@item none
+No directory sorting is performed. This is the default.
+
+@item name
+Sort the directory entries on name. The operating system may deliver
+directory entries in a more or less random order, and sorting them
+makes archive creation reproducible.
+
+@item inode
+Sort the directory entries on inode number. Sorting directories on
+inode number may reduce the amount of disk seek operations when
+creating an archive for some file systems.
+
+@end table
+
 @opsummary{sparse}
 @item --sparse
 @itemx -S
This page took 0.019969 seconds and 4 git commands to generate.