SYNC(1)

πŸ“¦
version 9.10 Β· 5 versions
, in ubuntu stonking

hey bestie πŸ’… welcome to sync(1) β€” yes that's the manual name, and yes this tiny command is doing the absolute most for your data. sit with me, we're gonna go through the whole thing, no skips, no cap.


✨ NAME ✨

sync β€” Synchronize cached writes to persistent storage πŸ’ΎπŸ«Ά

like. it takes everything your system was just thinking about writing and makes it actually real on disk. main character energy fr fr.


πŸ¦‹ SYNOPSIS πŸ¦‹

sync [OPTION] [FILE]...

πŸ’– DESCRIPTION πŸ’–

okay so the whole vibe of this one: Synchronize cached writes to persistent storage. that's it, that's the job. iconic. πŸ‘‘

if you give it one or more files, then it only syncs those, or the file systems that contain them. so you can be picky about it, love that for you.

  • -d, --data β€” sync only file data, no unneeded metadata. like, we're keeping it cute and minimal bestie, only the data gets the spotlight πŸ’«
  • -f, --file-system β€” sync the file systems that contain the files. not the files themselves, their whole entire neighbourhood 🏘️
  • --help β€” display this help and exit. your little "wait what do I do" moment, answered immediately πŸŽ€
  • --version β€” output version information and exit. proof of identity, she's showing her ID at the door πŸ’…

πŸ’€ BUGS πŸ’€

NOT ME HAVING TO SAY THIS BUT: Persistence guarantees vary per system. 😭 so like, "it's definitely on disk now" is not a promise the universe makes on every machine. see the system calls below for more details. that's not me being shady, that's just literally what it says. 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Written by Jim Meyering and Giuseppe Scrivano. legends, respectfully. 🌟


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found something cursed? tell the people. not me, the people:

translation bugs too, they want ALL the feedback, the multilingual slay 🌈


🌸 SEE ALSO 🌸

sibling energy, go read these next:

Full documentation at https://www.gnu.org/software/coreutils/sync, or available locally via:

info '(coreutils) sync invocation'
  • Packaged by Ubuntu (9.10-1ubuntu2)
  • Copyright Β© 2026 Free Software Foundation, Inc.
  • License GPLv3+: GNU GPL version 3 or later https://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. ⚠️ (yes capital letters, they mean it, no take-backsies.)

and that's the whole page, bestie. πŸŽ€ this was GNU coreutils 9.10, dated August 2026, answering to the name SYNC(1). go forth and flush responsibly πŸ’–βœ¨πŸ¦‹πŸ“

πŸ“¦ where this page comes from