Using rsync with link-dest from HFS to NTFS
- by Tom
Hi,
I'm having a problem with rsync.
I'm on a Mac and I'd like to sync my everyday's changes from my HFS+ partition to my NTFS formated networked drive.
Pretty simple, and everything goes well except that it syncs every file each times.
Here's my script:
#! /bin/sh
snapshot_dir=/Volumes/USB_Storage/Backups
snapshot_id=`date +%Y%m%d%H%M`
/usr/bin/rsync -a \
--verbose \
--delete --delete-excluded \
--human-readable --progress \
--one-file-system \
--partial \
--modify-window=1 \
--exclude-from=.backup_excludes \
--link-dest ../current \
/Users/tommybergeron/Desktop/Brainpad \
$snapshot_dir/in-progress
cd $snapshot_dir
rm -rf $snapshot_id
mv in-progress $snapshot_id
rm -f current
ln -s $snapshot_id $snapshot_dir/current
Could someone help me out please? I've been searching for like two hours and I still am clueless.
Thanks so much.