My question is: Is it posible to copy (download/upload) a folder with multiple files and folders with one simple command like this? Does WebDav support recursive copy using the API?
I’m creating a tar file and downloading or uploading it, but it’s a little bit annoying
Instead of using curl I recommend to use cadaver. With this command line tool you should be able to automate your WebDAV activities better.
To get it working you first need to create a ~/.netrc file and add at least the following lien: