LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Destination files different to the source are not being deleted with Grsync (https://www.linuxquestions.org/questions/linux-networking-3/destination-files-different-to-the-source-are-not-being-deleted-with-grsync-4175487015/)

linustalman 12-05-2013 01:57 PM

Destination files different to the source are not being deleted with Grsync
 
2 Attachment(s)
Hi.

The destination files different on my NTFS formatted external HDD to the source (my Ext4 formatted main PC) are not being deleted with Grsync.

I have similar settings with my laptop (Ext4) and PC but all files different to the source are deleted when syncing.

Is the NTFS file format the problem? How can this be solved?

Thanks.

linustalman 12-08-2013 08:12 AM

In the first image above - should there be trailing slashes at the end of both source and destination?

linustalman 12-08-2013 12:55 PM

1 Attachment(s)
A trailing slash seemed to be the problem.

linustalman 12-12-2013 01:10 PM

The issue comes back again unless I exclude ".*". Why is that?

This is the command in Grsync
rsync -r -t -v --progress --delete -l --exclude-from=/home/roy/Documents/IT/Net/GRsync/Exclude-List.txt /home/roy/ /media/roy/ExtHDD/Roy/

linustalman 12-18-2013 09:43 AM

I added ".ecryptfs" to the exclude list. That seemed to be the problem. Adding other root permission home directory folders may also help.


All times are GMT -5. The time now is 03:23 AM.