rsync, excluding files w/certain characteristics

View: New views
3 Messages — Rating Filter:   Alert me  

rsync, excluding files w/certain characteristics

by Edward Peschko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hey,

I was wondering - is there an option to rsync which allows you to
exclude transfers of files with a certain size or other
characteristics?

I want to setup a 'partial' rsync mirror where I only pull files under
5M, for example.. I see the option for including/excluding file names
in the usage, but not file sizes..

Ed
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync, excluding files w/certain characteristics

by Steven Monai-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Edward Peschko wrote:
> I was wondering - is there an option to rsync which allows you to
> exclude transfers of files with a certain size

--max-size , --min-size

> or other
> characteristics?

What sorts of characteristics?

-SM
--

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync, excluding files w/certain characteristics

by Carlos Carvalho-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Edward Peschko (horos11@...) wrote on 6 November 2009 18:46:
 >I was wondering - is there an option to rsync which allows you to
 >exclude transfers of files with a certain size or other
 >characteristics?
 >
 >I want to setup a 'partial' rsync mirror where I only pull files under
 >5M, for example.. I see the option for including/excluding file names
 >in the usage, but not file sizes..

They exist. See options --max-size and --min-size in the manual.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html