root@kaon.uchicago.edu (Admin) (08/12/88)
paths instead of relative paths using tar. i.e. I save a directory /u/harris/trash. How can I restore this directory and subtrees to let us say, /u4/harris/tmp/trash. Thanks. If possible, please respond by email. ---Jonathan Jonathan G. Harris Bitnet addresses: jghha8r@uchimvs1 The James Franck Institute harris%go-han@uchicago The University of Chicago arpanet: harris@go-han.uchicago.edu Chicago, Illinois 60637 alternate: 10506@ncsavmsa.bitnet Jonathan G. Harris Bitnet addresses: jghha8r@uchimvs1 The James Franck Institute harris%go-han@uchicago The University of Chicago arpanet: harris@go-han.uchicago.edu Chicago, Illinois 60637 alternate: 10506@ncsavmsa.bitnet
bd@hpsemc.HP.COM (bob desinger) (08/17/88)
Admin (root@kaon.uchicago.edu) writes, in a truncated posting: > paths instead of relative paths using tar. i.e. I save a directory > /u/harris/trash. How can I restore this directory and subtrees to let > us say, /u4/harris/tmp/trash. (If my e-mail and shar of readtape doesn't reach you, get readtape from my earlier article and then read this.) I hope you're running System V. 1. cd /u4/harris/tmp 2. (Unpack the readtape shar into the current directory.) 3. ./readtape # get a usage summary 4. su root -c "cd `pwd` && ./readtape" # run it; creates ./u/harris/ 5. mv u/harris/trash trash # you may have to use mvdir 6. rm -rf u # dispose of leftovers -- bd