Well, this was a little bit of a hack, but I share it because it’s quite cool
#!/bin/bash # Simple script thaqt is designed to process Rackspace .CDN_ACCESS_LOGS recursively # once they are download with swiftly # to download the CDN logs use # swiftly --verbose --eventlet --concurrency=100 get .CDN_ACCESS_LOGS --all-objects -o ./ alldirs=$(ls -al -1); echo "$alldirs" | awk '{print $9}' > alldirs.txt for item in `cat alldirs.txt` do echo " --- CONTAINER $item START ---" tree -L 2 $item; echo " --- CONTAINER $item END --- " printf "\n\n" done