What is the problem you are having with rclone?
I have multiple format files in a folder, however, --filter
does not filter out with .gitkeep
. Any idea? Thanks!
Run the command 'rclone version' and share the full output of the command.
rclone v1.61.1
- os/version: darwin 13.2.1 (64 bit)
- os/kernel: 22.3.0 (arm64)
- os/type: darwin
- os/arch: arm64
- go/version: go1.19.4
- go/linking: dynamic
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
S3
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
Neither of these works
rclone sync --progress tdms/data hm-s3:hongbomiao-bucket/iot --filter="+ *.parquet"
rclone sync --progress tdms/data hm-s3:hongbomiao-bucket/iot --filter="+ *.parquet" --filter="- .gitkeep"
The rclone config contents with secrets removed.
I created by
rclone config create hm-s3 s3 provider=AWS access_key_id=xxx secret_access_key=xxx region=us-west-2 storage_class=STANDARD
A log from the command with the -vv
flag
➜ rclone sync --progress tdms/data hm-s3:hongbomiao-bucket/iot --filter="+ *.parquet" -vv
2023/04/28 12:09:38 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "sync" "--progress" "tdms/data" "hm-s3:hongbomiao-bucket/iot" "--filter=+ *.parquet" "-vv"]
2023/04/28 12:09:38 DEBUG : Creating backend with remote "tdms/data"
2023/04/28 12:09:38 DEBUG : Using config file from "/Users/hongbo-miao/.config/rclone/rclone.conf"
2023/04/28 12:09:38 DEBUG : fs cache: renaming cache item "tdms/data" to be canonical "/Users/hongbo-miao/Clouds/Git/hongbomiao.com/tdms/data"
2023/04/28 12:09:38 DEBUG : Creating backend with remote "hm-s3:hongbomiao-bucket/iot"
2023-04-28 12:09:38 DEBUG : S3 bucket hongbomiao-bucket path iot: Waiting for checks to finish
2023-04-28 12:09:38 DEBUG : S3 bucket hongbomiao-bucket path iot: Waiting for transfers to finish
2023-04-28 12:09:38 DEBUG : .gitkeep: md5 = d41d8cd98f00b204e9800998ecf8427e OK
2023-04-28 12:09:38 INFO : .gitkeep: Copied (new)
2023-04-28 12:09:44 DEBUG : motor-2.parquet: md5 = c72f5e6a722b43053878a5f7bee12376 OK
2023-04-28 12:09:44 INFO : motor-2.parquet: Copied (new)
2023-04-28 12:09:44 DEBUG : motor-1.parquet: md5 = 0756da16e4c24c6bc17b243aae7682af OK
2023-04-28 12:09:44 INFO : motor-1.parquet: Copied (new)
2023-04-28 12:09:44 DEBUG : Waiting for deletions to finish
Transferred: 58.687 MiB / 58.687 MiB, 100%, 9.432 MiB/s, ETA 0s
Transferred: 3 / 3, 100%
Elapsed time: 6.7s
2023/04/28 12:09:44 INFO :
Transferred: 58.687 MiB / 58.687 MiB, 100%, 9.432 MiB/s, ETA 0s
Transferred: 3 / 3, 100%
Elapsed time: 6.7s
2023/04/28 12:09:44 DEBUG : 12 go routines active