LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-20-2012, 05:55 PM   #1
Registered: Apr 2011
Distribution: slackware64-current
Posts: 313

Rep: Reputation: 16
rsync Include/exclude based on pattern & file size?

Is it possible to include/exclude files in rsync whose filenames both match a pattern and satisfy another requirement? E.g., how would I exclude all invisible files or directories (those that match ".*") that are also greater than 1 GB? Thank you
Old 01-20-2012, 08:49 PM   #2
Registered: Mar 2010
Distribution: Arch
Posts: 209

Rep: Reputation: 66
Include/exclude by patterns as flexible as GNU tar? Awesome. For everything else, there's find | rsync --files-from=-



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
include and exclude in rsync xeon123 Linux - Newbie 4 05-26-2011 11:27 PM
Rsync: exclude and include filters? JosephS Linux - Software 1 02-03-2011 10:43 PM
Rsync exclude (or include) issue eyeprotocol Linux - General 1 02-09-2010 11:08 PM
rsync include/exclude problems toaster.waffle Linux - Software 4 11-19-2009 09:57 AM
Exclude file pattern from unzip command XeroXer Linux - Newbie 3 01-10-2009 07:10 AM

All times are GMT -5. The time now is 11:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration