Scroll to navigation

SYNC(1) User Commands SYNC(1)

NAME

sync - Synchronize cached writes to persistent storage

SYNOPSIS

sync [OPTION] [FILE]...

DESCRIPTION

Synchronize cached writes to persistent storage

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

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

GNU coreutils online help: <http://www.gnu.org/software/coreutils/> Report sync translation bugs to <http://translationproject.org/team/>

AUTHOR

Written by Jim Meyering and Giuseppe Scrivano.

COPYRIGHT

Copyright © 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

fdatasync(2), fsync(2), sync(2), syncfs(2)

The full documentation for sync is maintained as a Texinfo manual. If the info and sync programs are properly installed at your site, the command

info coreutils 'sync invocation'

should give you access to the complete manual.

November 2020 GNU coreutils 8.22