init
This commit is contained in:
commit
215adfe420
34 files changed
+501
No files matched your search
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/zsh
|
||||
|
||||
sourceDir="/home/rob/"
|
||||
destinationDir="/mnt/3TB/Backup/lappi_rsync/rob"
|
||||
excludefile='--exclude-from=rsync_exclude_list'
|
||||
#includefile='--include-from=rsync_include_list'
|
||||
|
||||
#scriptdir=$(dirname $0)/
|
||||
#cd $scriptdir
|
||||
cd /home/rob/code/lokale-scripte/
|
||||
|
||||
if [ -d "$sourceDir" ]; then
|
||||
rsync -arlh --stats --progress $excludefile $includefile $sourceDir sshuser@kodi:$destinationDir
|
||||
#rsync -arlh "$excludes" "$includes" --stats $sourceDir root@kodi:$destinationDir -vvv
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user