1234567891011121314151617181920 |
- #!/bin/bash
- # Coding: utf-8
- # Editor: www.kate.org
- # Created 2023-01-20
- source $HOME/.SCR/lib.sh
- if [ $# == "0" ];
- then
- echo "Restore backup"
- echo "1 arg - path with file list to deleted folders"
- echo "2 arg - path to input folders"
- echo "3 arg - path to output folders"
- echo "Example: ./5_Restore_backup.sh ~/Desktop/home_to_data1.list ~/DATA1/backup/home ~/"
- exit 0
- fi
- rsyn_no_e24.sh -avr --delete-excluded --files-from="$1" "$2" "$3"
|