Feature request: External deletion command

Eberhard Moenkeberg emoenke at gwdg.de
Wed Jun 6 18:28:00 GMT 2007


Hi,

On Wed, 6 Jun 2007, Melmi wrote:

> it would be nice if rsync could call an external command to delete 
> files. Than one could call a secure deletion tool like "wipe", which 
> overwrites files a few times before deleting them.
> 
> Right now Im wiping personal data which I dont need anymore, but it 
> doesnt help much since they can easily be recovered from my backup made 
> with rsync.

You can use something like "--backup-dir=.old-saved --exclude /.old-saved"
and wipe out the directory .old-saved later yourself.

rsync will mv the files to the backup-dir (not cp). 


Viele Grüße
Eberhard Mönkeberg (emoenke at gwdg.de, em at kki.org)


More information about the rsync mailing list