rsync help needed
dma+rsynclist at witbe.net
Wed Feb 13 13:23:35 GMT 2008
On Wed, 13 Feb 2008 18:04:48 +0530 "piyush joshi"
<joy.piyush at gmail.com> 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
In this way, you can exlude any number of files in any fashion you
Daniel Maher <dma AT witbe.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20080213/6bc43ef4/signature.bin
More information about the rsync