Thanks for the input, yeah I realise that objects are the thing rather than folder structure but for simplicity sake folder term still used :)
Same deal though would be check objects with delete marker set between particular days - there will be metadata we can read to tell where in the structure the object would be displayed (I am assuming). I found this https://github.com/aws/aws-sdk-php/blob/master/docs/service-s3.rst which has an example for listing objects http://blogs.aws.amazon.com/php/post/Tx3K1TS5GUKJR85/Preview-the-AWS-Resource-APIs-for-PHP has further info. The API looks to be missing some features. More reading to be done cheers W On 22 May 2015 at 10:11, Dmitrii Ruban <[email protected]> wrote: > Hi William, > > My email is a bit offtopic, just want to point out that there is no > concept of directories in S3 storage, it is basically key => value storage > where key may look like a path to a file, so going recursively through the > keys is not what you would expect in a file system. > > Cheers > > On Thu, May 21, 2015 at 8:37 PM, William Hamilton < > [email protected]> wrote: > >> Hi all, anyone have good experience interacting with Amazon S3? >> >> I am looking for a script to allow a client to recursively go through a >> directory structure and identify files with a delete marker set between two >> date/times. Generate a list of these files and potentially restore (delete >> the delete marker object) them. Versioning has been enabled on the bucket. >> >> Other options could be to select files last modified by a particular user >> etc. >> >> Anyone know if this has been done before or I need to pay someone to >> develop it? >> >> tia >> >> W >> >> -- >> -- >> NZ PHP Users Group: http://groups.google.com/group/nzphpug >> To post, send email to [email protected] >> To unsubscribe, send email to >> [email protected] >> --- >> You received this message because you are subscribed to the Google Groups >> "NZ PHP Users Group" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > -- > NZ PHP Users Group: http://groups.google.com/group/nzphpug > To post, send email to [email protected] > To unsubscribe, send email to > [email protected] > --- > You received this message because you are subscribed to the Google Groups > "NZ PHP Users Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] --- You received this message because you are subscribed to the Google Groups "NZ PHP Users Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
