On Tue, 2003-11-18 at 23:24, Richard Miller wrote:
> I want to backup my Home directory but there are some files that I just 
> don't need to backup so I have compiled a list in "excludelist.txt".  
> I'm not a pro with Regular expressions, but I've learned that I can 
> type a command like this
> 
> $ find ~ | grep -f excludelist.txt
> 
> to show the all the files I want to exclude.
> 
> How do I, on the other hand, use the exclude list to show all of the 
> files I want to INCLUDE?

I assume you are using rsync.  Just run rsync in dry mode (-n I think)
along with -rav.  That will show you what it would do if you were
running it for real.

Michael


> 
> 
> Actually, I don't know what I will do with a list of the files I want 
> to include, but there ought to be a way to backup those files once I 
> have a list.  Am I heading in the right direction?
> 
> Thanks!
> 
> Richard Miller
> 
> 
> ____________________
> BYU Unix Users Group 
> http://uug.byu.edu/
> ___________________________________________________________________
> List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
-- 
Michael Torrie <[EMAIL PROTECTED]>

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to