"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
[
{{- range $i, $e := .Entries}}{{if $i}},{{end}}
{"Path":{{json (trimSuffix $e.Leaf "/")}},"Name":{{json (trimSuffix $e.Leaf "/")}},"Size":{{if $e.IsDir}}-1{{else}}{{$e.Size}}{{end}},"MimeType":{{json $e.MimeType}},"ModTime":{{if $e.ModTime | afterEpoch}}{{json $e.ModTime}}{{else}}""{{end}},"IsDir":{{$e.IsDir}}}
{{- end}}
]