We study the dynamics of entropy in a time dependent potential and explore how disorder influences this entropy flow. We show that disorder can trap entropy at the edge of the atomic cloud enabling a novel cooling method. We demonstrate the feasibility of our cooling technique by analyzing the evolution of entropy in a one-dimensional Fermi lattice gas with a time dependent superlattice potential.finite sweep rates, removing the superlattice potential generates some entropy. We find that sufficiently strong disorder prevents the entropy flow, effectively cooling the central region. We study the entropy dynamics for different sweep rates and compare the degree of entropy localization for different disorder strengths. We also analyze the entanglement entropy in the system to characterize the entropy generation. Finally, we comment on the effect of interactions and experimental considerations.