Skip to content

rxnew/docker-tmpfiles-clean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-tmpfiles-clean

Delete old temporary files using atime.

Usage

The following command deletes /tmp files whose atime is before 600 seconds every 30 seconds.

docker run -v /tmp:/tmp ghcr.io/rxnew/docker-tmpfiles-clean /tmp 600 30