(I think this is a bug, but not completely sure.)
So I'm trying to get data off s3. The data looks something like: /data/foo/foo/bar.txt /data/foo/foo/baz.txt
the directory: /data/foo/
contains only subdirectories; no files.
when I try to do: ruby s3sync.rb -r --delete mybucket:/data/ /home/me/data-test
I get: Could not mkdir /home/me/data-test/foo/foo: No such file or directory - /home/me/data-test/foo/foo
/home/me/data-test/ exists; I think it is failing because data-test/foo/ doesn't exist, and it is trying to create data-test/foo/foo/ without creating data-test/foo/ first.
Is this a bug? Silliness on my end? I'm pretty sure bug, but maybe there is a subtlety/design decision I'm missing here.
|