Discussion:
mirror file and --ignore-time
Robert DuToit
2013-10-04 01:39:09 UTC
Permalink
Hi Alexander,

I just noticed a glitch when using the -f option and mirror with --ignore-time


mirror -R -f --ignore-time "/tmp/test.zip"

throws error:

ambiguous source directory (`' or `/tmp/test.zip'?)

It works fine without the --ignore-time. Just wondering if this is a bug or if ignore-time won't work with mirror for single file?

Thanks, Rob
Robert DuToit
2013-10-04 02:05:52 UTC
Permalink
Post by Robert DuToit
Hi Alexander,
I just noticed a glitch when using the -f option and mirror with --ignore-time
Doh! So sorry Alexander,

I had the --ignore-times after the -f option. A really dumb mistake.

It works fine now.
Post by Robert DuToit
mirror -R--ignore-time -f "/tmp/test.zip"
Thanks, Rob
Post by Robert DuToit
mirror -R -f --ignore-time "/tmp/test.zip"
ambiguous source directory (`' or `/tmp/test.zip'?)
It works fine without the --ignore-time. Just wondering if this is a bug or if ignore-time won't work with mirror for single file?
Thanks, Rob
_______________________________________________
lftp mailing list
http://univ.uniyar.ac.ru/mailman/listinfo/lftp
Alexander V. Lukyanov
2013-10-04 06:07:38 UTC
Permalink
Post by Robert DuToit
Hi Alexander,
I just noticed a glitch when using the -f option and mirror with --ignore-time
mirror -R -f --ignore-time "/tmp/test.zip"
Currently -f requires an argument (the file). So try to reorder the options:

mirror -R --ignore-time -f "/tmp/test.zip"
--
Alexander.
Continue reading on narkive:
Loading...