Move command works like a charm, but I want to extract the files name after transferring is done.
After the transferring I have got to save the file's name, size, path, created date in RDBMS and do something more jobs which relevant to file name and path.
I have tried -P flag or -v and it worked but it wasn't exactly I wanted to get and it was too verbose.
I can slice and extract the --progress results but it seems so error-prone.
I am running command in Java and want to grab the transferred files name and add in to List.
I am gonna run it regularly as a batch job so the file name could be arbitrary.
2022-10-27 14:29:18 INFO : test5.txt: Copied (new) Transferred: 0 B / 0 B, -, 0 B/s, ETA - Checks: 0 / 1, 0% Transferred: 0 / 1, 0% Elapsed time: 0.2s Checking: Transferring: * test5.txt: 0% /0, 0/s, - 2022-10-27 14:29:18 INFO : test5.txt: Deleted Transferred: 0 B / 0 B, -, 0 B/s, ETA - Checks: 0 / 1, 0% Deleted: 1 (files), 0 (dirs) Transferred: 1 / 1, 100% Elapsed time: 0.3s Checking: * test5.txt: checkingTransferred: 0 B / 0 B, -, 0 B/s, ETA - Checks: 2 / 2, 100% Deleted: 1 (files), 0 (dirs) Renamed: 1 Transferred: 1 / 1, 100% Elapsed time: 0.3s
expected (only when it is transferred successfully)
rclone v1.60.0 - os/version: darwin 11.7 (64 bit) - os/kernel: 20.6.0 (arm64) - os/type: darwin - os/arch: arm64 - go/version: go1.19.2 - go/linking: dynamic - go/tags: cmount
SFTP, Linux(remote) / Mac(local)
rclone move name:path path -vP
Paste config here
Paste log here
Thanks for your generous help!