sync

v0.0.26
sync [OPTION]... FILE...

Synchronize cached writes to persistent storage

Options

--file-system, -f

sync the file systems that contain the files (Linux and Windows only)

--data, -d

sync only file data, no unneeded metadata (Linux only)

Examples

Flush all pending write operations on all disks:

sync

Flush all pending write operations on a single file to disk:

sync {{path/to/file}}

The examples are provided by the tldr-pages project under the CC BY 4.0 License.

Please note that, as uutils is a work in progress, some examples might fail.