Siafoo is here to make coding less frustrating and to save you time. Join Siafoo Now or Learn More

uploading files, webDav, cadaver Atom Feed 0

over 8 years ago (29 Jul 2010 at 08:54 AM) by Michael Case
Do any of you guys know how to copy recursively on linux using cadaver a large number of files? mput does not seem to recurse (at least on my machine).
over 8 years ago (30 Jul 2010 at 07:57 PM) by Steven
It seems like cadaver doesn't support recursive mput. I found a similar app http://www.gohome.org/nd/. You should be able to pipe find through a for loop that puts your files.
I haven't actually tried this, but I'm thinking it would be something like:

for f in `find /home/steven/src`; do nd -p $f http://webdav1/path$f; done