LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 01-20-2012, 05:55 PM   #1
Geremia
Member
 
Registered: Apr 2011
Distribution: Slackware 14.1
Posts: 194

Rep: Reputation: 5
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
jthill
Member
 
Registered: Mar 2010
Distribution: Arch
Posts: 209

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


Reply

Tags
rsync


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 10:52 PM.

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