mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-11-25 16:31:03 +01:00
Added file size check
This commit is contained in:
parent
7028ca48b7
commit
0aba1daf41
@ -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"
|
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\"..."
|
info "Searching for files which are in \"$HOME\" but don't belong to user \"$USER\"..."
|
||||||
sudo find "$HOME" ! -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 {} \;
|
||||||
|
Loading…
Reference in New Issue
Block a user