mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-11-12 18:51:04 +01:00
Implemented search for wrong ownership files
This commit is contained in:
parent
0628901dd5
commit
e25b75a873
@ -6,3 +6,5 @@ echo "System check"
|
||||
echo
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user