[prev in list] [next in list] [prev in thread] [next in thread] 

List:       suse-linux-uk-schools
Subject:    Re: [suse-linux-uk-schools] selective archiving
From:       Thomas Adam <thomas_adam16 () yahoo ! com>
Date:       2003-03-11 15:50:22
[Download RAW message or body]

Hey Mike,

Take a look at the article I wrote, and in particular
to this webpage:

http://www.linuxgazette.com/issue78/adam.html#keyfiles

see what you think :-)

-- Thomas Adam


 --- Mike Rees <suse@glanymor.carms.sch.uk> wrote: >  
>  Hi
>  
> Any idea how I can selectively backup certain type
> of files using tar (or 
> otherwise) For example, (don't shoot me for this)
> *.doc, *.xls, *.pub files.
>  
> I'm trying to backup users home directories which
> inevitably contain loads
> of cr4p making the size of the archive balloon.
> 
> This is the kind of thing I'm using currently.  
> Obviously, repeated for each directory and filetype
> I want to backup.
> 
> tar -cvf backup /etc
> /usr/bin/find /export/home/ -name *.doc -newer
> /etc/last.backup -exec tar  
> -rvf backup {} \;
> 
> The script is getting longer and longer as I add new
> filetypes.
> 
> Am I missing something obvious?  Can I feed find or
> tar multiple arguments
> ie the file types?
> 
> All help much appreciated....it's doing my head in!!
> 
> --
> Mike Rees
> Ysgol Glanymor School
> Heol Elfed
> Burry Port
> Llanelli
> Carms
> SA16 0AL
> 
> 
> 
> 
> -- 
> To unsubscribe, e-mail:
> suse-linux-uk-schools-unsubscribe@suse.com
> For additional commands, e-mail:
> suse-linux-uk-schools-help@suse.com
>  

=====
Thomas Adam

"The Linux Weekend Mechanic" -- www.linuxgazette.com

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-- 
To unsubscribe, e-mail: suse-linux-uk-schools-unsubscribe@suse.com
For additional commands, e-mail: suse-linux-uk-schools-help@suse.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic