sync(1)

sync1

Synchronize cached writes to persistent storage

Usage

sync [OPTION] [FILE] ...

Overview

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

Releases

14 releases since Debian 2.2 (Potato); the text changed 13 times.

  1. 2.2
  2. 3.0
  3. 3.1
  4. 4.0
  5. 5.0
  6. 6.0
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. Arch

--data since Debian 9 (Stretch); --file-system since Debian 9 (Stretch); -d since Debian 9 (Stretch); -f since Debian 9 (Stretch).

Bugs

Persistence guarantees vary per system. See the system calls below for more details.

Author

Written by Jim Meyering and Giuseppe Scrivano.

Reporting bugs

Report bugs to: <[email protected]>.
Report any translation bugs to: <https://translationproject.org/team/>.
GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
General help using GNU software: <https://www.gnu.org/gethelp/>

From coreutils 9.12-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.