Linux "sync" Command Line Options and Examples
commit filesystem caches to disk
Synchronize cached writes to persistent storage If one or more files are specified, sync only them, or their containing file systems.
sync [OPTION] [FILE]...
Command Line Options:
sync only file data, no unneeded metadata
sync -d ...
sync the file systems that contain the files
sync -f ...
display this help and exit
sync --help ...
output version information and exitBUGSPersistence guarantees vary per system. See the system calls below for more details.AUTHORWritten by Jim Meyering and Giuseppe Scrivano.REPORTING BUGSGNU coreutils online help: <http://www.gnu.org/software/coreutils/>Report sync translation bugs to <http://translationproject.org/team/>COPYRIGHTCopyright © 2017 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 per‐mitted by law.
sync --version ...