download everything in a directory swift tool

asked 2011-09-26 08:06:40 -0500

victor-tey gravatar image

is it possible to download everything in a directory?

I have the following hierachy, container->directory. I notice that a directory is simply a prefix of the directory to the file name.

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
0

answered 2011-09-28 12:32:12 -0500

tzn gravatar image

You would have to write some wrapper on swift, to recursively download files.

edit flag offensive delete link more
0

answered 2011-10-04 03:21:53 -0500

victor-tey gravatar image

that will download everything in a container but not from a "directory" within the container.

edit flag offensive delete link more
0

answered 2011-09-29 02:00:52 -0500

victor-tey gravatar image

Thanks Tomasz 'Zen' Napierala, that solved my question.

edit flag offensive delete link more
0

answered 2011-10-03 08:33:48 -0500

tzn gravatar image

Looks like I was wrong. Using swift tool you can download everything in a directory: swift -A https://x.x.x.x:8080/auth/v1.0 -U system:root -K pass download container_name

edit flag offensive delete link more
0

answered 2011-10-04 07:58:03 -0500

tzn gravatar image

All right, so you simulate directories using file prefix? I misunderstood. If so, follow my initial advice ;)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-09-26 08:06:40 -0500

Seen: 235 times

Last updated: Oct 04 '11