All pastes #154496 Raw Edit

rsync KACKE

public shellscript v1 · immutable
#154496 ·published 2006-08-30 11:30 UTC
rendered paste body
#!/bin/shgo () {    echo;    echo "#############";    echo;    echo "rsync --dry-run --stats $_rsyncParameter \"$_source/\" \"$_target/\"";    rsync --dry-run -avx --delete-before --delete-excluded --stats $_rsyncParameter "$_source/" "$_target/";}_source='/mnt/store'; _target='/mnt/backup/store';_rsyncParameter='--exclude "mnt/store/apps/***" --exclude "/mnt/store/drv/***" --exclude "/mnt/store/ARCHIVE***" --exclude "mnt/store/BACKUP***"'; go;_rsyncParameter='--exclude "mnt/store/apps/**"  --exclude "/mnt/store/drv/**"  --exclude "/mnt/store/ARCHIVE**"  --exclude "mnt/store/BACKUP**"'; go;_rsyncParameter='--exclude "mnt/store/apps/*"   --exclude "/mnt/store/drv/*"   --exclude "/mnt/store/ARCHIVE*"   --exclude "mnt/store/BACKUP*"'; go;_rsyncParameter='--exclude "apps/***"           --exclude "/drv/***"           --exclude "/ARCHIVE***"           --exclude "BACKUP***"'; go;_rsyncParameter='--exclude "apps/**"            --exclude "/drv/**"            --exclude "/ARCHIVE**"            --exclude "BACKUP**"'; go;_rsyncParameter='--exclude "apps/*"             --exclude "/drv/*"             --exclude "/ARCHIVE*"             --exclude "BACKUP*"'; go;