G
G
Godless2020-06-15 17:47:43
Backup
Godless, 2020-06-15 17:47:43

What parameters does rclone need to move files by mask?

Good day.

Question: What options does rclone need to move files by mask?

You need to move files from the \\SRV\d$\Directory folder to another folder D:\DIR1\DIR2 with verification (it seems to be enabled by default) with overwriting in the destination folder. The files in the destination folder do not need to be touched.

It seems, reading the documentation, it turns out like this:

rclone.exe move "\\SRV\d$\Directory" "D:\DIR1\DIR2" -P --ignore-case --include "/\[pattern\]*.ext"


And it seems to work as expected if run from the console, but as soon as I hang it in the scheduler, the files are NOT copied and DELETED from both folders.

Am I doing something wrong? Or is there another tool?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fenrir89, 2020-06-15
@Godless

Can be scheduled to run as a user with write access to the folder.
And aren't the files in the directory with a slash at the end \\SRV\d$\Directory\ and D:\DIR1\DIR2\, in your case it copies the directory

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question