Skip to content

dsync prints out "Completed sync" even if you only did 'dsync --help' #672

@ColemanTom

Description

@ColemanTom

In my opinion, there should not be a printout of Completed sync when you do dsync --help. No syncing took place.

$ dsync --help

Usage: dsync [options] source target

Options:
      --dryrun            - show differences, but do not synchronize files
  -b  --batch-files <N>   - batch files into groups of N during copy
      --bufsize <SIZE>    - IO buffer size in bytes (default 4MB)
      --chunksize <SIZE>  - minimum work size per task in bytes (default 4MB)
  -X, --xattrs <OPT>      - copy xattrs (none, all, non-lustre, libattr)
  -c, --contents          - read and compare file contents rather than compare size and mtime
  -D, --delete            - delete extraneous files from target
  -L, --dereference       - copy original files instead of links
  -P, --no-dereference    - don't follow links in source
  -s, --direct            - open files with O_DIRECT
      --open-noatime      - open files with O_NOATIME
      --link-dest <DIR>   - hardlink to files in DIR when unchanged
  -S, --sparse            - create sparse files when possible
      --progress <N>      - print progress every N seconds
  -v, --verbose           - verbose output
  -q, --quiet             - quiet output
  -h, --help              - print usage

For more information see https://mpifileutils.readthedocs.io.
[2026-02-05T22:18:41] Completed sync

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions