1SYNC(1) User Commands SYNC(1)
2
3
4
6 sync - Synchronize cached writes to persistent storage
7
9 sync [OPTION] [FILE]...
10
12 Synchronize cached writes to persistent storage
13
14 If one or more files are specified, sync only them, or their containing
15 file systems.
16
17 -d, --data
18 sync only file data, no unneeded metadata
19
20 -f, --file-system
21 sync the file systems that contain the files
22
23 --help display this help and exit
24
25 --version
26 output version information and exit
27
29 Persistence guarantees vary per system. See the system calls below for
30 more details.
31
33 Written by Jim Meyering and Giuseppe Scrivano.
34
36 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
37 Report any translation bugs to <https://translationproject.org/team/>
38
40 Copyright © 2022 Free Software Foundation, Inc. License GPLv3+: GNU
41 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
42 This is free software: you are free to change and redistribute it.
43 There is NO WARRANTY, to the extent permitted by law.
44
46 fdatasync(2), fsync(2), sync(2), syncfs(2)
47
48 Full documentation <https://www.gnu.org/software/coreutils/sync>
49 or available locally via: info '(coreutils) sync invocation'
50
51
52
53GNU coreutils 9.1 January 2023 SYNC(1)