Just delete extraneous files, without updating other changes?

Kevin Korb kmk at sanitarium.net
Thu Feb 16 18:57:45 MST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Actually, you want --delete --ignore-non-existing and --ignore-existing

On 02/16/12 20:55, Kevin Korb wrote:
> You want --ignore-existing
> 
> On 02/16/12 20:36, Bryan Pliatsios wrote:
>> Hello all,
> 
>> I thought --recursive  and  --delete-before  might be an option
>> and I can quit rsync when it begins the updates, but the
>> incremental recursive scanning is disabled and this will
>> certainly crash rsync as it was before moving to v3.x (too many
>> files).
> 
>> I have no experience with --write-batch but I wonder if it's 
>> safe/sane to edit the resulting batch output file, or by doing a 
>> --dry-run | grep "deleting" and fire that list thru rm. Other 
>> thoughts?
> 
> 
>> Bryan
> 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			http://www.sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk89tBkACgkQVKC1jlbQAQdE6wCg/F82Wtqgg0dbJCGW0HJfDQ4n
UkQAoOprJehXSe6Wc5x1x/gP8ENAHJSX
=huox
-----END PGP SIGNATURE-----


More information about the rsync mailing list