SYNC(1)
๐
SYNC โ the sync(1) page, but make it make sense
okay bestie, welcome to sync(1) from the User Commands corner of the manual. this is the page you pull up when you're like "wait. why is my file not on disk yet ๐ญ" and honestly? iconic question. let's get into it ๐ซถ
โจ NAME โจ
sync โ synchronize cached writes to persistent storage
like. it takes all those cute little writes chillin' in cache and it's like "okay babe, we're committing now, actually going to disk, no takebacks" ๐
๐ธ SYNOPSIS ๐ธ
sync [OPTION] [FILE]...
๐ DESCRIPTION ๐
Synchronize cached writes to persistent storage.
if you hand it one or more files, it only syncs those files โ or the file systems that contain them. so it's not out here doing the whole system's homework, it's just doing yours ๐
-d,--dataโ sync only the file data, skip the unneeded metadata. like, we're not doing extra credit here, just the data, thank you ๐-f,--file-systemโ sync the file systems that contain the files. the whole vibe of the containing filesystem gets flushed โจ--helpโ display this help and exit. the classic "just tell me what you do" button ๐--versionโ output version information and exit. for when you need to know which one of these you're talking to ๐
๐ BUGS ๐
persistence guarantees vary per system. not me breaking the news but likeโฆ it's not a universal promise, okay? see the system calls below for more details ๐ฅ (they're in SEE ALSO, keep scrolling bestie)
๐ฆ AUTHOR ๐ฆ
Written by Jim Meyering and Giuseppe Scrivano. kings. absolute icons ๐
๐ญ REPORTING BUGS ๐ญ
found something cursed? tell the people:
- Report bugs to: <bug-coreutils@gnu.org>.
- 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/>
don't be shy, they actually want to know ๐ซถ
๐ COPYRIGHT ๐
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.
like yes bestie you can remix it, but there's no warranty, periodt ๐
๐ SEE ALSO ๐
Full documentation <https://www.gnu.org/software/coreutils/sync> or available locally via: info '(coreutils) sync invocation'
okay that's the whole page, you ate that ๐ this one's from GNU coreutils 9.12, dated September 2026 โ so when you see SYNC(1) chilling at the bottom of your terminal, that's the whole era of it right there โจ mwah, go flush something ๐ง
๐ฆ where this page comes from
- arch rolling: coreutils 9.12-2 ยท GPL-3.0-or-later AND GFDL-1.3-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms