command not working.. help

Kevin Korb kmk at sanitarium.net
Sun Jul 7 10:56:06 MDT 2013


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

OK, I didn't notice the * at the beginning of the command.  Yes, when
I look at your original message I see a bolded command.  I got the
stars when I replied because my thunderbird is configured to always
compose in plain text unless I tell it otherwise and that was how it
chose to translate bold.

On 07/07/13 12:52, Joe wrote:
> FYI: In my email program (Thunderbird), the original rsync command
> in this post shows up in bold (from * command *) and the asterisks
> are not shown. They are not part of the command itself.
> 
> Joe
> 
> On 07/07/2013 02:41 AM, Kevin Korb wrote:
>> --delete and --files-from don't work together.
>> 
>> --files-from is for specifying an exact list of what to copy. 
>> Therefore there can't be anything to delete because there is
>> nothing it looks at other than the specified list.
>> 
>> Also, never ever use "dest/*"  Your shell will expand that to a
>> list of everything that matches "dest/*" and rsync will think you
>> are specifying a bunch of additional sources with the very last
>> one being the target.  Nothing good will happen.
>> 
>> On 07/07/13 02:33, Garvit Sharma wrote:
>>> Hello All,
>> 
>>> *rsync -av --files-from=FILE --delete-before src/ dest/*
>> 
>>> the above mentioned command not working. I want to delete
>>> extra files on the dest that are not on the source and
>>> transferring the selected files from FILE simultaneously.
>>> Please suggest me how to do that ??
>> 
>>> -- Regards
>> 
>>> Garvit Sharma Computer Science and Engineering UG Third year
>>> LNM IIT, Jaipur
>> 
>>> /No Body is a Scholar by birth, its only hard work and strong 
>>> determination that makes him master./ / /
>> 
>> 
>> 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
	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.20 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlHZnaYACgkQVKC1jlbQAQdsKgCg5oizOuMkb6cIdESVotnbIf6t
jgkAmwTTRt4A+h6fWLfKvNlPM9KeXn57
=GHgA
-----END PGP SIGNATURE-----


More information about the rsync mailing list