Hamilton signed a minor-league contract with the Rays on Wednesday, Marc Topkin of the Tampa Bay Times reports.
Hamilton was cut loose by the White Sox a week ago, but a right shoulder injury has kept him out of action in Triple-A since July 7. When healthy, the 32-year-old outfielder hasn't been very impressive with a .147/.261/.253 slash line across 89 plate appearances. Hamilton will be an option to fill a pinch-running role down the stretch.