From 6617f80795ee3a70cc149777438845c0604f723f Mon Sep 17 00:00:00 2001 From: proledatarian Date: Sat, 5 Feb 2022 12:18:32 +0000 Subject: [PATCH] Formatting --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index a95244c..be702fd 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # Random Linux Tips ## 1. Automatically clear cache. -Description: Move files older than a specific amount of time from your user's ~/.cache directory to the trash. -Requires: (https://github.com/PhrozenByte/rmtrash)[rmtrash]. -How-To: -- Add the following line to your crontab using the command "crontab -e" (or EDITOR=$editor crontab -e) -# 0 17 * * * /usr/bin/find ~/.cache/* -mtime +7 -exec /usr/bin/rmtrash -rf {} \; -- This command looks at files in ~/.cache every day at 5 p.m. and moves files older than 7 days to the trash. -Additionally: This can also be done using regular "rm" instead of "rmtrash". +- Description: Move files older than a specific amount of time from your user's ~/.cache directory to the trash. +- Requires: (https://github.com/PhrozenByte/rmtrash)[rmtrash]. +- How-To: +-- Add the following line to your crontab using the command "crontab -e" (or EDITOR=$editor crontab -e) +0 17 * * * /usr/bin/find ~/.cache/* -mtime +7 -exec /usr/bin/rmtrash -rf {} \; +-- This command looks at files in ~/.cache every day at 5 p.m. and moves files older than 7 days to the trash. +-Additionally: This can also be done using regular "rm" instead of "rmtrash".