1
0
mirror of https://github.com/minio/docs.git synced 2025-09-10 20:12:12 +03:00
Files
docs/source/minio-cli/minio-mc/mc-diff.rst
2020-10-07 20:11:09 -04:00

1.2 KiB

mc diff

minio

Table of Contents

mc diff

Description

The mc diff mc computes the differences between two filesystem directories or S3-compatible buckets. mc diff lists only those objects which are missing or which differ in size. mc diff does not compare the contents of objects.

Output Legend

mc diff uses the following legend when formatting the diff output:

FIRST < SECOND - object exists only in FIRST 
FIRST > SECOND - object exists only in SECOND 
FIRST ! SECOND - Newer object exists in FIRST

Examples

mc diff play/bucket1 play/bucket2

Syntax

mc diff has the following syntax:

mc diff FIRST SECOND

~mc diff supports the following arguments:

FIRST

The path to a filesystem directory or S3-compatible bucket.

SECOND

The path to a filesystem directory or S3-compatible bucket.