This works as expected. Then, if I run the same exact command again, to download the directory again, instead of overwriting the existing /local/content/js directory with the new content, it creates a new js directory within the existing one, leaving me with /local/content/js/js.
If I do the same thing with a top level directory, the content is overwritten as expected. For example running this command twice:
Will result in the content/ directory being recreated and overwritten with the new files rather than creating it as a subdirectory as demonstrated above.
Is this a bug or am I doing something wrong here? Thank you very much for any help you can provide.
The text was updated successfully, but these errors were encountered:
I'm trying to download an entire directory from a webdav server. The folder is located at:
I want to download this folder and it's contents to the following directory on my local computer:
Therefore, I cd into the /local directory, and run the following command:
This works as expected. Then, if I run the same exact command again, to download the directory again, instead of overwriting the existing /local/content/js directory with the new content, it creates a new js directory within the existing one, leaving me with
/local/content/js/js
.If I do the same thing with a top level directory, the content is overwritten as expected. For example running this command twice:
Will result in the content/ directory being recreated and overwritten with the new files rather than creating it as a subdirectory as demonstrated above.
Is this a bug or am I doing something wrong here? Thank you very much for any help you can provide.
The text was updated successfully, but these errors were encountered: