Changes between Version 2 and Version 3 of full-filesystem-rsync


Ignore:
Timestamp:
Feb 8, 2012, 6:48:15 PM (10 years ago)
Author:
Daniel Kahn Gillmor
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • full-filesystem-rsync

    v2 v3  
    1919
    2020exclude="--exclude /etc/fstab --exclude /etc/network/interfaces --exclude /etc/udev/rules.d"
    21 rsync -ax --hard-links --delete $exclude / "${target}"/
     21rsync -ax --hard-links --delete ${exclude} / "${target}"/
    2222for fs in ${originfilesystems}; do
    2323  echo "transfering filesystem from /${fs}"
    24   rsync -ax --hard-links --delete /$fs/ "${target}/$fs/"
     24  rsync -ax --hard-links --delete /${fs}/ "${target}/${fs}/"
    2525done
    2626}}}