Bug 3021 - No deletion on receiver side when using --delete and --files-from
Summary: No deletion on receiver side when using --delete and --files-from
Status: CLOSED WORKSFORME
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 2.6.0
Hardware: x86 Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-21 09:54 UTC by Romary SONRIER
Modified: 2006-03-12 03:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Romary SONRIER 2005-08-21 09:54:43 UTC
Hello , in a bash script file , i use:
rsync -aHvzc  --delete --delete-excluded --exclude-from=$TOEXCULE_LIST_FILES

And this command never delete any file on receiver side...
Is this normal?
Comment 1 Romary SONRIER 2005-08-21 09:56:06 UTC
Sorry, I'am not using:
>>rsync -aHvzc  --delete --delete-excluded --exclude-from=$TOEXCULE_LIST_FILES

but 
>>rsync -aHvzc  --delete--files-from=$TORSYNC_LIST_FILES

And this command never delete any file on receiver side...
Is this normal?
Comment 2 Wayne Davison 2005-08-21 15:35:25 UTC
Keep in mind that --delete only affects directories that rsync sends.  See the
mailing list for a discussion of --files-from and --delete strategies, including
a reference to the remote-remove script in the support directory that allows you
to specify files to delete on an rsync daemon.