Documentation Index
Fetch the complete documentation index at: https://mintlify.com/rojo-rbx/rojo/llms.txt
Use this file to discover all available pages before exploring further.
rojo syncback takes an existing Roblox file and writes its contents into the source tree that your project.json describes. It is the reverse of rojo build: where build turns source files into a Roblox file, syncback turns a Roblox file into source files. This is useful for bootstrapping a Rojo project from a place you already have, or for pulling in changes made directly inside Studio.
Synopsis
--input is required.
Arguments and flags
Path to the project file or to a directory containing a
default.project.json. Defaults to the current directory.Path to the Roblox file to read instances from. Accepted extensions are
.rbxl, .rbxlx, .rbxm, and .rbxmx.Print the list of files and directories that would be added or removed to stdout. Normal progress output still goes to stderr.
Run the full syncback process but do not write any files. Reports what would be added and removed, then exits. Useful for reviewing changes before committing.
Skip the confirmation prompt. By default Rojo asks you to confirm before writing to the filesystem. Pass this flag in scripts or CI environments.
Global flags
Increase log verbosity. Pass multiple times (e.g.
-vv) for more detail.Control color output. Accepted values are
auto, always, and never.Output streams
rojo syncback deliberately separates its output:
- stderr — all progress messages, confirmations, and diagnostics.
- stdout — file change list when
--listis passed.
grep or a script) without mixing it with progress output.
