[sllug-members]: easy backups

Steve Dibb steve at wonkabar.org
Mon May 1 16:34:05 MDT 2006


Can someone help me out with doing some backups?  First of all, I looked 
for some *simple* scripts, but I still couldn't find anything that suits 
my purpose, and man tar isn't helping too much either.

My situation is this: I have a large directory of all different kinds of 
files that I want to backup on a regular basis.  Some (*.txt) I want to 
backup daily.  Some, I want to backup weekly, and the rest monthly.

Now, from what I can tell, tar has --exclude options, but only does 
basic wildcard pattern matching (*.foo), but it has no --include 
options.  So how could I tell it to backup just all (*.txt) files, aside 
from excluding every other possible file ending in the directory?

Steve


More information about the sllug-members mailing list