mirror of
				https://github.com/kevinveenbirkenbach/linux-image-manager.git
				synced 2025-11-04 01:18:10 +00:00 
			
		
		
		
	Implemented check for local files
This commit is contained in:
		@@ -15,6 +15,7 @@ yay
 | 
			
		||||
make
 | 
			
		||||
gcc
 | 
			
		||||
cmake
 | 
			
		||||
fdupes
 | 
			
		||||
 | 
			
		||||
# network analyze tools
 | 
			
		||||
traceroute
 | 
			
		||||
 
 | 
			
		||||
@@ -12,7 +12,7 @@ SCRIPT_PATH="$REPOSITORY_PATH/scripts/";
 | 
			
		||||
DATA_PATH="$DECRYPTED_PATH/data";
 | 
			
		||||
BACKUP_PATH="$DECRYPTED_PATH/backup";
 | 
			
		||||
TEMPLATE_PATH="$REPOSITORY_PATH/templates";
 | 
			
		||||
LOCAL_REPOSITORIES_PATH="$HOME/Documents/repositories";
 | 
			
		||||
LOCAL_REPOSITORIES_PATH="$HOME/Repositories";
 | 
			
		||||
 | 
			
		||||
declare -a BACKUP_LIST=("$HOME/.ssh/" \
 | 
			
		||||
  "$HOME/.gitconfig" \
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										8
									
								
								scripts/client/check.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								scripts/client/check.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
#!/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"
 | 
			
		||||
		Reference in New Issue
	
	Block a user