1FATSORT(1) User Commands FATSORT(1)
2
3
4
6 fatsort - FAT sorting tool
7
9 fatsort [OPTIONS] DEVICE
10
12 FATSort sorts directory structures of FAT file systems. Many MP3 hard‐
13 ware players don't sort files automatically but play them in the order
14 they were transferred to the device. FATSort can help here.
15
17 -a Use ASCIIbetical order for sorting
18
19 -c Ignore case of file names
20
21 -f Force sorting even if file system is mounted
22
23 -h, --help
24
25 Print some help
26
27 -i Print file system information only
28
29 -I PFX Ignore file name PFX
30
31 -l Print current order of files only
32
33 -o FLAG Sort order of files where FLAG is one of
34
35 d : directories first (default)
36
37 f : files first
38
39 a : files and directories are not differentiated
40
41 -n Natural order sorting
42
43 -q Be quiet
44
45 -r Sort in reverse order
46
47 -R Sort in random order
48
49 -t Sort by last modification date and time
50
51 -v, --version
52
53 Print version information
54
55 The following options can be specified multiple times:
56
57 -d DIR
58 Sort directory DIR only
59
60 -D DIR Sort directory DIR and all subdirectories
61
62 -x DIR Don't sort directory DIR
63
64 -X DIR Don't sort directory DIR and its subdirectories
65
66 -L LOC Use the locale LOC instead of the locale from the environment
67 variables
68
69 DEVICE must be a FAT12, FAT16 or FAT32 file system.
70
71 WARNING: THE FILESYSTEM MUST BE CONSISTENT (NO FILESYSTEM ERRORS).
72 PLEASE BACKUP YOUR DATA BEFORE USING FATSORT. RISK OF CORRUPT FILESYS‐
73 TEM! FATSORT USER ASSUMES ALL RISK. FATSORT WILL NOT BE HELD LIABLE
74 FOR DATA LOSS!
75
77 fatsort /dev/sda
78 Sort /dev/sda.
79
80 fatsort -n /dev/sdb1
81 Sort /dev/sdb1 with natural order.
82
84 Written by Boris Leidner.
85
87 Report bugs to <fatsort@formenos.de>.
88
90 Copyright © 2004-2017 Boris Leidner. License GPLv2: GNU GPL version 2
91 (see LICENSE.txt)
92 This is free software: you are free to change and redistribute it.
93 There is NO WARRANTY, to the extent permitted by law.
94
95
96
97fatsort 1.4.2 January 2019 FATSORT(1)