rsync help needed

Daniel Maher dma+rsynclist at
Wed Feb 13 13:23:35 GMT 2008

On Wed, 13 Feb 2008 18:04:48 +0530 "piyush joshi"
<joy.piyush at> wrote:

> Dear All,
>            I want to exclude some files from the backup server. I got
> this option --delete-excluded but i want to only exclude those files
> which are older than one month from the current date and does not
> exist on server how can i achieve this with the help of rsync. Please
> help me i will be grateful to you.


Perhaps i've misunderstood what you're attempting to do; however, if
you simply want to exclude some files (not delete them), then you
should be using --exclude instead.

As far as the time requirement is concerned, you may wish to consider
generating the file listing ahead of time (using "find", for example),
outputting that list to a text file, then feeding the list to rsync via
--exclude-from=FILENAME .

In this way, you can exlude any number of files in any fashion you

Daniel Maher <dma AT>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the rsync mailing list