[#BloombergLP-bdls-FilesystemUtil-rollFileChain] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::rollFileChain :relfileprefix: ../../../ :mrdocs: Remove the file at the specified `path` appended with the specified `maxSuffix` using a `.` as a separator. Then move the files with the suffixes `.1` to `.maxSuffix‐1` so they have new suffixes from `.2` to `.maxSuffix`. Finally, move `path` to `path` with a `.1` suffix. Return 0 on success, and non‐zero otherwise. == Synopsis Declared in `<bdls_filesystemutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int rollFileChain( std::string_view const& path, int maxSuffix); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#