Visit Jeremy's Blog.
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, 06:55 PM   #1
Registered: Apr 2011
Distribution: slackware64-current
Posts: 399

Rep: Reputation: 41
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, 09:49 PM   #2
Registered: Mar 2010
Distribution: Arch
Posts: 211

Rep: Reputation: 67
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-27-2011 12:27 AM
Rsync: exclude and include filters? JosephS Linux - Software 1 02-03-2011 11:43 PM
Rsync exclude (or include) issue eyeprotocol Linux - General 1 02-10-2010 12:08 AM
rsync include/exclude problems toaster.waffle Linux - Software 4 11-19-2009 10:57 AM
Exclude file pattern from unzip command XeroXer Linux - Newbie 3 01-10-2009 08:10 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:07 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