S3Sync.net
February 02, 2014, 01:26:26 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / Closed Bugs / Re: failure to create necessary directories on localhost? on: February 17, 2007, 11:37:28 AM
Forgot to add that if I create the local directory /home/me/data-test/foo/  that it works fine. But if I have to manually create every directory which has no files in it, that isn't going to scale very well :/
2  General Category / Closed Bugs / failure to create necessary directories on localhost? on: February 17, 2007, 11:35:12 AM
(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.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!