Shell commands for backup'ing


#1

I’m trying to find some good unix commands to make restoring back-ups easier, I found the following one is good for removing particular files recusively,… however I haven’t found one to restore particular files recursively…

find /home/.hancock/username/test/ -name *.test -ok rm -r {} ;

I suppose, some variant on the above command might be used to restore files recursively…? But how would you do it? Can tar be used with -exec ? What would the syntax look like?

-Aaron