Discussion:
compare files for put command
Robert DuToit
2013-08-20 14:36:19 UTC
Permalink
Hi ALL,

Just wondering if there is a way to use the put command so it will upload only newer files similar to the way the mirror command works. I can't find any setting for that and put uploads each time regardless if file is the same.

best, Rob
Alexander V. Lukyanov
2013-08-21 07:51:28 UTC
Permalink
Post by Robert DuToit
Just wondering if there is a way to use the put command so it will upload only newer files similar to the way the mirror command works. I can't find any setting for that and put uploads each time regardless if file is the same.
You can use mirror for that:

mirror -R -I file_name.ext

(test mirror using the option --dry-run)
--
Alexander.
Continue reading on narkive:
Loading...