From 0aba1daf4192321c6dd4afc15282e4c9dc0f6473 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Mon, 18 May 2020 23:24:24 +0200 Subject: [PATCH] Added file size check --- scripts/client/check.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/client/check.sh b/scripts/client/check.sh index 1bfa9b2..5629bf6 100644 --- a/scripts/client/check.sh +++ b/scripts/client/check.sh @@ -8,3 +8,5 @@ info "Checking relevant home folders for duplicated files..." fdupes -r "$HOME/Documents/" "$HOME/Downloads/" "$HOME/Images/" "$HOME/Desktop/" "$HOME/Music/" "$HOME/Pictures/" "$HOME/Videos" info "Searching for files which are in \"$HOME\" but don't belong to user \"$USER\"..." sudo find "$HOME" ! -user "$USER" +info "Searching for files which are in \"$HOME\" and bigger then 100MB..." +find ~ -type f -size +100M -exec ls -lh {} \;