OS Manuals

/usr/bin/sync

GNU core utilities

From coreutils 9.12-r7 (os), captured 2026-11-05 by running sync --help (exit 0). permalink

Also provided by 1 other package version
Usage: /usr/bin/sync [OPTION] [FILE]...
Synchronize cached writes to persistent storage

If one or more files are specified, sync only them,
or their containing file systems.

  -d, --data             sync only file data, no unneeded metadata
  -f, --file-system      sync the file systems that contain the files
      --help
         display this help and exit
      --version
         output version information and exit

Report bugs to: <bug-coreutils@gnu.org>.
GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
General help using GNU software: <https://www.gnu.org/gethelp/>
Full documentation <https://www.gnu.org/software/coreutils/sync>
or available locally via: info '(coreutils) sync invocation'
Options (4)
OptionDescriptionSource
-d, --datasync only file data, no unneeded metadatahelp + man
-f, --file-systemsync the file systems that contain the fileshelp + man
--helpdisplay this help and exithelp + man
--versionoutput version information and exithelp + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.