Index

s3-bsync / master

Bidirectional syncing tool to sync local filesystem directories with S3 buckets. (Incomplete)

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
1528 Jun 2022 22:408506c93Update dataclass structuresJosh Stockin196G

Blob @ s3-bsync / src / classes / sync_directory_map.py

application/x-python672 bytesdownload raw
1# s3-bsync Copyright (c) 2021 Joshua Stockin
2# <https://joshstock.in>
3# <https://git.joshstock.in/s3-bsync>
4#
5# This software is licensed and distributed under the terms of the MIT License.
6# See the MIT License in the LICENSE file of this project's root folder.
7#
8# This comment block and its contents, including this disclaimer, MUST be
9# preserved in all copies or distributions of this software's source.
10
11from dataclasses import dataclass
12
13__all__ = ["sync_directory_map"]
14
15
16@dataclass
17class sync_directory_map:
18 local_path: str = ""
19 s3_prefix: str = ""
20 gz_compress: int = 0
21 recursive: bool = True
22 gpg_enabled: bool = False
23 gpg_email: str = ""
24