Re: recursive copy in VMS
- From: huber@xxxxxxxxxxxxxxxxxxxx (Joseph Huber)
- Date: 30 Nov 2006 09:07:31 +0100
In article <1164863990.368405.196930@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, "thick_guy_9" <thick_guy_9@xxxxxxxxx> writes:
I am looking for a way to do a recursive copy in VMS.
something like cp -r.
I tried the foll soln:
$ backup sys$login:[000000...]*.*;* disk$abc:[test]test.bck/save
$ set def disk$abc:[test]
$ backup test.bck/save
but it doesn't create the directory tree, just all files in one
directory.
Others have answered the recursive question, one observation though:
Using [000000...], especially in a disk-to-disk copy, is very dangerous:
Use [*...] instead, and if there are specific files (LD or ISO disk images
and similar files often placed there), then include them explicitely.
If on copy or restore You blindly use /NEW or /REPLACE, then the output disk
will be corrupted (at least not easy to repair).
To copy [000000] , use BACKUP/IMAGE .
--
Joseph Huber , Muenchen,Germany: http://www.huber-joseph.de/
.
- Follow-Ups:
- Re: recursive copy in VMS
- From: JF Mezei
- Re: recursive copy in VMS
- References:
- recursive copy in VMS
- From: thick_guy_9
- recursive copy in VMS
- Prev by Date: Re: recursive copy in VMS
- Next by Date: Re: Any experience with EVA & VMS 7.2-2 ??
- Previous by thread: recursive copy in VMS
- Next by thread: Re: recursive copy in VMS
- Index(es):
Relevant Pages
|