cleanup + readme
2 changed files with 6 additions and 0 deletions
README.md ADDED
View File
| @@ -0,0 +1,3 @@ | ||
| 1 | +# scripts | |
| 2 | + | |
| 3 | +Little shell scripts from The Linux Command Line course. | |
cleanup.sh ADDED
View File
| @@ -0,0 +1,3 @@ | ||
| 1 | +#!/bin/sh | |
| 2 | +# delete downloads older than 30 days | |
| 3 | +find "$HOME/Downloads" -type f -mtime +30 -print -delete | |