Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7330659
By: patn
Hi,
I am using s3cmd in a simple nightly backup and I'd like to find an easy way
to insure that I don't keep more than N archives on S3. I see that when I list
the bucket they currently appear in date order and I could script something
against that. However it makes me nervous since I see no guarantee that that
order will be maintained.
I realize that I could use the sync strategy and more easily maintain the files
by date locally (e.g. find -mtime +) but I'd prefer to stay a bit more
hands-off.
So, my questions are:
1) Is the ordering of files by date in the listing guaranteed to stay that way?
2) If not #1, could we get an ls -t option or equivalent?
3) Is there some trivial way I can list files on S3 older than a certain date?
4) Should I shut up about this and submit code for this myself? :)
thanks,
Pat
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=618865
|