- Timestamp:
- 02/05/10 19:55:47 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/linuxmuster-linbo/branches/testing/linbo/linbo_cmd.sh
r585 r591 768 768 echo "Starte Kompression von $2 -> $3 (differentiell)." | tee -a /tmp/image.log 769 769 mkexclude 770 # rsync mit acl und xattr Optionen 771 local ROPTS="-HazAX" 772 #local ROPTS="-az" 773 [ "$(fstype "$2")" = "vfat" ] && ROPTS="-rtz" 774 # tschmitt: logging 775 #rm -f "$TMP" 776 #interruptible rsync "$ROPTS" --exclude="/.linbo" --exclude-from="/tmp/rsync.exclude" --delete --delete-excluded --partial --only-write-batch="$3" /mnt/ /cloop 777 #interruptible rsync "$ROPTS" --fake-super --exclude="/.linbo" --exclude-from="/tmp/rsync.exclude" --delete --delete-excluded --partial --log-file=/tmp/image.log --log-file-format="" --only-write-batch="$3" /mnt/ /cloop 2>&1 >>/tmp/image.log 770 # determine rsync opts due to fstype 771 local type="$(fstype "$2")" 772 case $type in 773 ntfs) ROPTS="-HazAX" ;; 774 vfat) ROPTS="-rtz" ;; 775 *) ROPTS="-az" ;; 776 esac 778 777 interruptible rsync "$ROPTS" --exclude="/.linbo" --exclude-from="/tmp/rsync.exclude" --delete --delete-excluded --log-file=/tmp/image.log --log-file-format="" --only-write-batch="$3" /mnt/ /cloop 2>&1 >>/tmp/image.log 779 778 RC="$?"
Note: See TracChangeset
for help on using the changeset viewer.
