Sync --dry-run - Not making directory

Hello,

The “sync --dry-run” command gives the following notice:

Not making directory as dry run is set

What am I doing wrong?

Thank you in advance.

Solved:

I have to use first:
rclone mkdir ...

Unfortunately it does not work with rclone 1.36.

Can you post your complete command?
and dry-run meaning is:
-n, --dry-run Do a trial run with no permanent changes

So that will not change anything on your system, It’s just to see what rclone will do if you run it without. And try it with -vvv to see debug logging in the output of rclone. It will tel you a lot.

So, I do the standard sync check with “–dry-run”:
rclone sync --dry-run --log-file="C:\rclone\log.txt" "G:\ServerFolders\backup" secretlocal:local

But I got the notice as below:
2017/03/25 17:00:02 NOTICE: Encrypted Local file system at G:\ServerFolders\_backup\vr3aui21ob9ghmraaeng7mn1a4: Not making directory as dry run is set

I found on the github that “mkdir” command should help in this situaction: link, but unfortunately it does not help using the rclone 1.36.

After that, I did the sync check with “–dry-run -vvv”:
rclone sync --dry-run -vvv --log-file="C:\rclone\log.txt" "G:\ServerFolders\backup" secretlocal:local

Result:
2017/03/25 17:55:14 INFO : Encrypted Local file system at G:\ServerFolders\_backup\vr3aui21ob9ghmraaeng7mn1a4: Waiting for transfers to finish 2017/03/25 17:55:14 INFO : Waiting for deletions to finish 2017/03/25 17:55:14 INFO : Transferred: 0 Bytes (0 Bytes/s) Errors: 0 Checks: 20902 Transferred: 0 Elapsed time: 20.8s 2017/03/25 17:55:14 DEBUG : Go routines at exit 2 2017/03/25 17:55:14 DEBUG : rclone: Version "v1.36" finishing with parameters ["rclone" "sync" "-vvv" "--dry-run" "--log-file=C:\\rclone\\log.txt" "G:\\ServerFolders\\backup" "secretlocal:local"]

So, why the standard “sync --dry-run” is not working on rclone 1.36?

When specifying a dry run, I’ve always seen that in the response:

Not making directory as dry run is set

An example:

howardm$ rclone sync -vn /Users/howardm/WebReceipts googledrive:laptop/WebReceipts 2017/03/25 14:09:44 INFO : Google drive root 'laptop/WebReceipts': Modify window is 1s 2017/03/25 14:09:44 NOTICE: Google drive root 'laptop/WebReceipts': Not making directory as dry run is set 2017/03/25 14:09:53 INFO : Google drive root 'laptop/WebReceipts': Waiting for checks to finish 2017/03/25 14:09:53 INFO : Google drive root 'laptop/WebReceipts': Waiting for transfers to finish 2017/03/25 14:09:53 INFO : Waiting for deletions to finish 2017/03/25 14:09:53 INFO : Transferred: 0 Bytes (0 Bytes/s) Errors: 0 Checks: 228 Transferred: 0 Elapsed time: 10.4s


You could use the -vv option as well for more information.

Then, when running the command without the -n option, everything works fine. It’s not an error message, as such, as far as I can tell.

Howard

I think you do not understand me.

In rclone 1.35 after I use the simple “sync --dry-run” there is a clear and most important INFO:

2017/03/25 17:55:14 INFO :
Transferred: 0 Bytes (0 Bytes/s)
Errors: 0
Checks: 20902
Transferred: 0
Elapsed time: 20.8s

In rclone 1.36 I have to use additionally “-v” command to get this information, otherwise I receive notice: Not making directory as dry run is set.