Skip to content

Commit

Permalink
add exclude to cli
Browse files Browse the repository at this point in the history
  • Loading branch information
hhuuggoo committed Mar 14, 2024
1 parent 49c37b0 commit 2b061c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saturnfs/cli/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ def delete(path: str, recursive: bool):
default=1,
help="Maximum number of threads to run per file for parallel chunk upload/download",
)
@click.option("--exclude", "exclude_globs", multiple=True)
def rsync(
source_path: str,
destination_path: str,
Expand All @@ -219,7 +220,6 @@ def rsync(
else:
operation = file_op(src_is_local, dst_is_local)
callback = FileOpCallback(operation=operation)

sfs.rsync(
source_path, destination_path, delete_missing=delete_missing, callback=callback, **kwargs
)
Expand Down

0 comments on commit 2b061c2

Please sign in to comment.