How to sort output of "s3cmd ls"
- by dba.in.ua
Amazon "s3cmd ls" takes like this output:
2010-02-20 21:01 1458414588 s3://file.tgz.00
2010-02-20 21:10 1458414527 s3://file.tgz.01
2010-02-20 22:01 1458414588 s3://file.tgz.00
2010-02-20 23:10 1458414527 s3://file.tgz.01
2010-02-20 23:20 1458414588 s3://file.tgz.02
How to select all files of archive, ending at 0 ... X, with the latest date of fileset ?
Bash, regexp ?
Thanx!