t00
(T00)
March 23, 2021, 7:26pm
1
hello,
how can set the flag ! directly in the start command ? in one order so that he doesn't ask.
rclone sync --create-empty-src-dirs -i gdrivexx:gdrivexx/aa gdrivezz:gdrivezz/aa
rclone: copy "aa"?
y) Yes, this is OK (default)
n) No, skip this
s) Skip all copy operations with no more questions
!) Do all copy operations with no more questions
q) Exit rclone now.
y/n/s/!/q> !
Regards
You are using -i which is interactive mode.
-i, --interactive Enable interactive mode
You'd turn that off it you want it non interactive.
t00
(T00)
March 23, 2021, 8:09pm
3
oke, how can select then -> !) Do all copy operations with no more questions
You remove -i and make it non interactive if you don't want prompts.
The purpose of interactive is to require input and confirmation hence "interactive".
t00
(T00)
March 23, 2021, 8:14pm
5
yes that is clear to me, but with what option is it carried out? will it be automatically skip or no skip, or everything will be automatically copied
Remove -i and add --dry-run
You'll see exactly what will happen and you can remove dry-run when you are good.
Sync makes the source and destination identical.
system
(system)
Closed
May 23, 2021, 4:21pm
8
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.