First off I would like to say that this group is NOT TO DO IT FOR YOU!! Next, if someone already has such a script they could (hopefully) post it for you. Lastly, we can give advice as to what YOU should do. For example: Given your basics... 1: Delete all files/directories in the destination for the tarball 2: extract all files/directories from the tarball to the destination.
How you do it, is up to you. We can only give advice. On Oct 19, 9:42 am, Ramesh Dash <[email protected]> wrote: > Hi > > i need to write a customized restore script to restore the disk files from > a tarball. > > The script should be like this: > > It should take two *arguments*; (1) the location of the tarball, and (2) the > location where to restore the tarball. > > The *behavior of the script *should be like: it must *restore all the > files/directories that are in the tarball* and it should *delete all the > other files/directories on the disk which are not *in the tarball. -- You received this message because you are subscribed to the Google Groups "Computer Tech Support" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/computer-tech-support?hl=en.
