Differences

This shows you the differences between two versions of the page.

Link to this comparison view

s3cmd [2012/04/03 14:12]
127.0.0.1 external edit
s3cmd [2015/06/01 15:29] (current)
steve
Line 10: Line 10:
  
 <​code>​ <​code>​
-s3cmd --delete-removed sync /​var/​archives/​mysql/​ s3://dtrike-backups/​mysql/​+s3cmd --delete-removed sync /​var/​archives/​mysql/​ s3://steve-backups/​mysql/​
 </​code>​ </​code>​
  
Line 18: Line 18:
  
 <​code>​ <​code>​
-s3cmd ls s3://dtrike-bucket/ | sed 's/.* //g'+s3cmd ls s3://steve-bucket/ | sed 's/.* //g'
 </​code>​ </​code>​
  
Line 24: Line 24:
  
 <​code>​ <​code>​
-s3cmd ls s3://dtrike-bucket/ | sed 's/.* //g' | egrep "`date --date "-2 months"​ +%Y%m`[0-9]{2}"​+s3cmd ls s3://steve-bucket/ | sed 's/.* //g' | egrep "`date --date "-2 months"​ +%Y%m`[0-9]{2}"​
 </​code>​ </​code>​