diff --git a/Backup/.Backup_HD_1TB.sh b/Backup/.Backup_HD_1TB.sh index 3142019..c27dcf2 100755 --- a/Backup/.Backup_HD_1TB.sh +++ b/Backup/.Backup_HD_1TB.sh @@ -10,7 +10,7 @@ mkdir -p "$HDYEARMONTH/LinuxHome/bruno" mkdir -p "$HDYEARMONTH/LinuxHome/admin" mkdir -p "$HDYEARMONTH/LinuxHome/lost+found" -backup="rsync -rptgoDql" +backup="rsync -rptgoDql --exclude-from=./exclude" echo echo "Backup command : $backup" @@ -32,9 +32,6 @@ eval $backup "/home/bruno/" "$HDYEARMONTH/LinuxHome/bruno/" || echo "" echo -e "\e[97m `date +%r` - Admin\e[39m" eval $backup "/home/admin/" "$HDYEARMONTH/LinuxHome/admin/" || echo "" -echo -e "\e[97m `date +%r` - Lost+Found\e[39m" -eval $backup "/home/lost+found/" "$HDYEARMONTH/LinuxHome/lost+found/" || echo "" - echo -e "\e[97m`date +%r` - Copying Localização folder (3/7)...\e[39m" eval $backup "/run/media/bruno/Multimedia/Localização" "$HDYEARMONTH/Multimedia/" || echo "" diff --git a/Backup/exclude b/Backup/exclude new file mode 100755 index 0000000..1ec6f06 --- /dev/null +++ b/Backup/exclude @@ -0,0 +1 @@ +.cache*