command not working.. help

Joe josephj at main.nc.us
Sun Jul 7 10:52:01 MDT 2013


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./ / /
>
>
>



More information about the rsync mailing list