https://github.com/rxnew/docker-tmpfiles-clean
Delete old temporary files using atime.
https://github.com/rxnew/docker-tmpfiles-clean
docker linux tempfile
Last synced: 3 months ago
JSON representation
Delete old temporary files using atime.
- Host: GitHub
- URL: https://github.com/rxnew/docker-tmpfiles-clean
- Owner: rxnew
- License: mit
- Created: 2021-10-05T14:53:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-07T06:51:16.000Z (over 4 years ago)
- Last Synced: 2025-08-04T19:35:08.159Z (11 months ago)
- Topics: docker, linux, tempfile
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
```shell
docker run -v /tmp:/tmp ghcr.io/rxnew/docker-tmpfiles-clean /tmp 600 30
```