Hi All,
I am facing problem deleting Source while using the rsync command.
rsync --include=`date --date="-1 day" \+\%Y\%m\%d` --include=`date +\%Y\%m\%d` --exclude=* --delete-after -auvb -e ssh USER@SERVER:SOURCE DESTINATION
However the sync happens but not the deletion of the source file.
I tried giving the source 777 permissions.
also i don't get any error message saying unable to delete or something like that.
FYI ) The source and destination accounts are different and the source is a member of destination group.
Please help
Thanks and Regards,
Amit