mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-11-10 10:01:02 +01:00
11 lines
533 B
Bash
11 lines
533 B
Bash
#!/bin/bash
|
|
# @author Kevin Veen-Birkenbach
|
|
# shellcheck source=/dev/null # Deactivate SC1090
|
|
source "$(dirname "$(readlink -f "${0}")")/../base.sh" || (echo "Loading base.sh failed." && exit 1)
|
|
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"
|