Introduction
oss-sync is a tool to sync local files to aliyun.com OSS.
Configuration
[[Settings]]
Name = "setting name"
Local = "local folders to sync"
IgnoreHiddenFiles = true # ignore local hidden files
Endpoint = "oss-cn-zhangjiakou.aliyuncs.com" # oss endpoint
Bucket = "gperf" # oss bucket name
Prefix = "sync" # oss bucket storage file prefix
AccessKeyID = "oss access key id"
AccessKeySecret = "oss access key secret"
Delete = false # delete oss files if local file deleted
for linux
- ~/.config/org.musicpeace.osssync/config.toml
- /etc/xdg/org.musicpeace.osssync/config.toml
- /etc/org.musicpeace.osssync/config.toml
for Mac
~/Library/Preferences/org.musicpeace.osssync/config.toml
for Windows
%LOCALAPPDATA%/org.musicpeace.osssync/Config/config.toml
Log
for linux
~/.local/share/org.musicpeace.osssync/app.log
for Mac
~/Library/Logs/org.musicpeace.osssync/app.log
for Windows
%LOCALAPPDATA%/org.musicpeace.osssync/Logs/log.log
Install
for CLI
make cli
./dist/osssync-cli sync
for GUI
make darwin
open ./dist/osssync.app
# Make
```bash
make bundle